<template>
  <view class="">
    <view class="">
      <view class="listTitle">
        <view class="type"
        >项目名称：
          <text :selectable="true">{{
              titleList.prjName || titleList.subPrjName
            }}
          </text>
        </view
        >
        <view class="type"
        >项目编码：
          <text :selectable="true">{{
              titleList.prjCode || titleList.subPrjCode
            }}
          </text>
        </view
        >
        <view class="type"
        >站址名称：
          <text :selectable="true">{{
              titleList.siteName || titleList.subSiteName
            }}
          </text>
        </view
        >
        <view class="type"
        >站址编码：
          <text :selectable="true">{{
              titleList.siteId || titleList.subSiteId
            }}
          </text>
        </view
        >
          <view class="type">站址经纬度：
              <text :selectable="true">{{titleList.siteLongitude + ',' + titleList.siteDimension}}</text>
          </view>
        <view class="listTitle-scheme">
          <button style="width:180rpx ;height:50rpx ;font-size: 26rpx;line-height: 50rpx" type="warn" size="mini" @click="scheme">
            设计方案
          </button>
        </view>
      </view>
      <!-- 滑块部分 -->
      <view style="margin-top: -10rpx;">
        <swiper-item class="swiper-item">
          <scroll-view scroll-y :style="'height:' + contentHeight" style="background-color: #f7f8fa;">
            <u-subsection
                :list="listTabs"
                :current="curNow1"
                @change="sectionChange1"
                v-if="showTabs"
            >
            </u-subsection>
            <!-- 主材模块 -->
            <view class="" v-show="curNow1 == 0">
              <view
                  v-show="prjInfo == []"
                  style="
		            padding: 8rpx 0 8rpx 22rpx;
		            font-size: 24rpx;
		            color: red;

		            font-weight: bold;
		          "
              >
                <text>无主材物资数据，请确认物资是否已申领并出库！</text>
              </view>
              <view
                  v-show="prjInfo != []"
                  style="
		            padding: 8rpx 0 8rpx 22rpx;
		            font-size: 24rpx;
		            font-weight: bold;
		          "
              >
                <text
                >如未找到对应数据，请先对所需源头赋码标识为“是”的主设备、辅材物资进行申领、出库操作！
                </text
                >
                <view style="width: 92%;text-align:right;position: relative;">
                  <text style="font-size: 22rpx;color: #007AFF">
                    <text @click="illustrate">贴签说明</text>
                    <image style="width: 32rpx;height: 32rpx;position:absolute;
		  				  					        top:12rpx;right: -32rpx"
                           src="@/static/imges/wenhaoer.png" mode=""></image>
                  </text>
                </view>
              </view>
              <view
                  v-show="prjInfo.length !=0"
                  v-if="nosousk"
                  style="
		  				    padding: 0 20rpx 15rpx 20rpx;
		  				  "
              >
                <view class="searchbox-so">
                  <view class="u-search-inner">
                    <u-icon name="search" color="#909399" :size="28"></u-icon>
                    <u-input v-model="searchValuea" height="30" placeholder="  请输入物料名称/物料编码"/>
                  </view>
                </view>
              </view>

              <uni-collapse>
                <uni-collapse-item
                    class="collapseStyle"
                    title-border="none"
                    :border="false"
                    :open="nofor"
                    v-for="(item, index) in prjInfoer"
                    :key="index"
                >
                  <template v-slot:title>
                    <view class="type">
                      <text :selectable="true"> {{ item.categoryName }}</text>
                    </view>
                    <view class="type">
                      物料编码：
                      <text :selectable="true">{{ item.categoryCode }}</text>
                    </view>
                    <view
                        class=""
                        style="
		                  display: flex;
		                  align-items: center;
		                  justify-content: space-between;
		                  margin-top: 0rpx;
						          position: relative;
		                "
                    >
                      <view class="type" style="margin-right: 129rpx">
                        需赋码贴签数量：
                        <text style="font-weight: bold">{{
                            item.osAmount - item.labelCodeAmount
                          }}
                        </text>
                      </view>
                      <button
                          v-if="
		                   item.osAmount - item.labelCodeAmount> 0 &&
		                   titleList.isOldPrj == 0
		                  "
                          v-debounce="() => toLabel(item.osDetailId)"
                          style="margin: 0 30rpx 0 0; padding: 0 10rpx;width: 140rpx;
						  height: 60rpx;font-size: 26rpx;position: absolute;right:0;top: -10rpx;"
                          type="warn"
                          :plain="true"
                          size="mini"
                      >
                        赋码贴签
                      </button>
                      <button
                          v-if="
		                    item.osAmount - item.labelCodeAmount> 0 &&
		                    titleList.isOldPrj == 1
		                  "
                          v-debounce="notice"
                          style="
		                    margin: 0 30rpx 0 0;
		                    padding: 0 10rpx;
		  					width: 140rpx;height: 60rpx;font-size: 26rpx;
		                    color: grey;
		                    border-color: grey;
							position: absolute;right:0;top: -10rpx;
		                  "
                          type="warn"
                          :plain="true"
                          size="mini"
                      >
                        赋码贴签
                      </button>
                      <view
                          class=""
                          style="width: 150rpx"
                          v-if="
		                    item.osAmount - item.labelCodeAmount < 0 ||
		                    item.osAmount - item.labelCodeAmount == 0
		                  "
                      ></view>
                    </view>
                    <view
                        class=""
                        style="
		                  display: flex;
		                  align-items: center;
		                  justify-content: space-between;
		                "
                    >
                      <view class="type" style="margin-right: 20rpx">
                        已到货确认数量：
                        <text style="font-weight: bold">{{
                            item.labelCodeBoundAmount
                          }}
                        </text>
                      </view>
                      <view class="type" style="margin-right: 20rpx"
                      >待到货确认数量：
                        <text style="font-weight: bold">{{
                            item.osAmount - item.labelCodeBoundAmount
                          }}
                        </text>
                      </view
                      >

                    </view>
                    <view class="type" style="margin-right: 129rpx" v-if="false">
                      出库总量：
                      <text style="font-weight: bold">{{
                          item.osAmount
                        }}
                      </text>
                    </view>
                    <view class="type" style="margin-right: 20rpx">
                      供应商名称：
                      <text style="font-weight: bold">{{
                            item.supplier
                        }}
                      </text>
                    </view>
                    <view class="type" style="margin-right: 129rpx;width: 100%;">
                      出库明细编号：
                      <text style="font-weight: bold">{{
                          item.osDetailId
                        }}
                      </text>
                    </view>
                  </template>
                  <view class="content" style="height: auto">
                    <view style="width: 100%;" v-if="item.osAmount - item.labelCodeBoundAmount!=0">
                      <view @click="Confirmed(index,1)" v-if="item.osAmount - item.labelCodeBoundAmount!=0"
                            style="width: 100%;background-color: white;padding: 5rpx 10rpx;margin-bottom: 0rpx;border-radius:6rpx;display: flex;justify-content: space-between;">
                        <view style="display: flex;font-size: 30rpx;font-weight:bold;margin-bottom: 0rpx;">
                          <view style="width: 24rpx;">
                            <view
                                style="width: 12rpx; height: 40rpx;background-color: #EB4B4B;margin-top: 8rpx;border-radius:6rpx">
                            </view>
                          </view>
                          未确认
                        </view>
                        <view style="width: 80rpx;height: 50rpx;margin-top: 5rpx;">
                          <image v-if="arrowheada[index].unfold" style="left: 20rpx;width: 30rpx;height: 30rpx;"
                                 :src="require('@/static/imges/up.png')"></image>
                          <image v-if="!arrowheada[index].unfold" style="left: 20rpx;width: 30rpx;height: 30rpx;"
                                 :src="require('@/static/imges/down.png')"></image>
                        </view>
                      </view>
                      <view v-if="arrowheada[index].unfold">
                        <u-table :th-style="{ height: '300px' }">
                          <u-tr>
                            <u-th width="32%">资源资产编码</u-th>
                            <u-th width="30%">标签ID</u-th>
                            <u-th aling="center">操作</u-th>
                          </u-tr>
                          <u-tr
                              v-for="(item1, index) in item.labelCode"
                              v-if="item1.isBound == 0"
                              :key="index"
                          >
                            <u-td width="32%" style="width: 20%; overflow: hidden">
                              <text :selectable="true">{{
                                  item1.resourceAssetCode || "无"
                                }}
                              </text>
                            </u-td>
                            <u-td width="30%" style="width: 33.3%; overflow: hidden">
                              <text :selectable="true" style="color: #007AFF;"
                                    @click="schemeert(item1.resourceAssetCode,item1.labelId)">
                                {{ (item1.labelId != null && item1.resourceAssetCode != null) ? item1.labelId : "" }}
                              </text>
                              <text :selectable="true" style="color: black;">
                                {{ (item1.labelId == null || item1.resourceAssetCode == null) ? item1.labelId || "无" : "" }}
                              </text>
                            </u-td>
                            <u-td width="38%">
                              <view

                                  class=""
                                  style="text-align: center; box-sizing: border-box;display:flex;justify-content: space-evenly;"
                              >
                                <view v-if="item1.labelId!=null && +item1.ifOldLabel ===0"
                                      @click="toSignChangeer(1,item1.labelId,item1.resourceAssetCode)"
                                      class="jiebangbiaoqian">
                                  解绑标签
                                </view>
                                <view v-else-if="+item1.ifOldLabel ===1" @click.stop="toSignChange(item, item1)" class="jiebangbiaoqian">
                                  换签
                                </view>
                                <text v-else>无</text>
                              </view>

                            </u-td>
                          </u-tr>
                        </u-table>
                      </view>
                    </view>
                    <view style="width: 100%;" v-if="item.labelCodeBoundAmount!=0">
                      <view @click="Confirmed(index,2)" v-if="item.labelCodeBoundAmount!=0"
                            style="width: 100%;background-color: white;padding: 5rpx 10rpx;margin-bottom: 0rpx;border-radius:6rpx;display: flex;justify-content: space-between;">
                        <view style="display: flex;font-size: 30rpx;font-weight:bold;margin-bottom: 0rpx;">
                          <view style="width: 24rpx;">
                            <view
                                style="width: 12rpx; height: 40rpx;background-color: #EB4B4B;margin-top: 8rpx;border-radius:6rpx">
                            </view>
                          </view>
                          已确认
                        </view>
                        <view style="width: 80rpx;height: 50rpx;margin-top: 5rpx;">
                          <image v-if="arrowheada[index].unfolder" style="left: 20rpx;width: 30rpx;height: 30rpx;"
                                 :src="require('@/static/imges/up.png')"></image>
                          <image v-if="!arrowheada[index].unfolder" style="left: 20rpx;width: 30rpx;height: 30rpx;"
                                 :src="require('@/static/imges/down.png')"></image>
                        </view>
                      </view>
                      <view v-if="arrowheada[index].unfolder">
                        <u-table :th-style="{ height: '300px' }">
                          <u-tr>
                            <u-th width="32%">资源资产编码</u-th>
                            <u-th width="30%">标签ID</u-th>
                            <u-th aling="center">操作</u-th>
                          </u-tr>
                          <u-tr
                              v-for="(item1, index) in item.labelCode"
                              v-if="item1.isBound !=0"
                              :key="index"
                          >
                            <u-td width="32%" style="width: 20%;height: 100%; ">
                              <div v-if="Sinformation"
                                   style="width: 100%;height: 100rpx;overflow: hidden;line-height: 100rpx;">
                                {{ item1.resourceAssetCode || "无" }}
                              </div>
                              <text v-if="!Sinformation" :selectable="true">
                                {{ item1.resourceAssetCode || "无" }}
                              </text>
                            </u-td>
                            <u-td width="30%" style="width: 33.3%; overflow: hidden">
                              <div v-show="Sinformation" @click="schemeert(item1.resourceAssetCode,item1.labelId)"
                                   v-if="(item1.labelId!=null&&item1.resourceAssetCode!=null)"
                                   style="width: 100%;height: 100rpx;overflow: hidden;line-height: 100rpx;color: #007AFF;">
                                {{ (item1.labelId != null && item1.resourceAssetCode != null) ? item1.labelId : "" }}
                              </div>
                              <div v-show="Sinformation" v-if="!(item1.labelId!=null&&item1.resourceAssetCode!=null)"
                                   style="width: 100%;height: 100rpx;overflow: hidden;line-height: 100rpx;">
                                {{ (item1.labelId == null || item1.resourceAssetCode == null) ? item1.labelId || "无" : "" }}
                              </div>
                              <text v-show="!Sinformation" :selectable="true" style="color: #007AFF;"
                                    @click="schemeert(item1.resourceAssetCode,item1.labelId)">
                                {{ (item1.labelId != null && item1.resourceAssetCode != null) ? item1.labelId : "" }}
                              </text>
                              <text v-show="!Sinformation" :selectable="true" style="color: black;">
                                {{ (item1.labelId == null || item1.resourceAssetCode == null) ? item1.labelId || "无" : "" }}
                              </text>
                            </u-td>
                            <u-td width="38%">
                              <div v-show="Sinformation" style="width: 100%;height: 100rpx;">
                                <view
                                    class=""
                                    style="text-align: center; box-sizing: border-box;display:flex;justify-content: space-evenly;margin-top: -3rpx;"
                                >
                                  <view @click.stop="toSignChange(item, item1)" class="jiebangbiaoqian">
                                    换签
                                  </view>

                                  <view v-if="item1.labelId!=null" @click="() => scanCodeInfozhanzhi(item1.labelId)"
                                        class="jiebangbiaoqian">
                                    解绑站址
                                  </view>

                                </view>
                                <view @click="() => toSignChangeimg(item, item1)" class="jiebangbiaoqian"
                                      style="margin-left: 9rpx;margin-top: 6rpx;">
                                  查看照片
                                </view>
                              </div>
                              <div v-show="!Sinformation" style="width: 100%;">
                                <view
                                    class=""
                                    style="text-align: center; box-sizing: border-box;display:flex;justify-content: space-evenly;margin-top: -3rpx;"
                                >
                                  <view @click.stop="toSignChange(item, item1)" class="jiebangbiaoqian">
                                    换签
                                  </view>

                                  <view v-if="item1.labelId!=null" @click="() => scanCodeInfozhanzhi(item1.labelId)"
                                        class="jiebangbiaoqian">
                                    解绑站址
                                  </view>

                                </view>
                              </div>

                            </u-td>
                          </u-tr>
                        </u-table>
                      </view>
                    </view>

                  </view>
                </uni-collapse-item>
              </uni-collapse>
            </view>
            <!-- 服务模块 -->
            <view class="" style="height: 100vh" v-show="curNow1 == 1">
              <view
                  v-show="prjFuWu.length === 0"
                  style="
		           padding: 8rpx 0 8rpx 22rpx;
		           font-size: 24rpx;
		            color: red;

		            font-weight: bold;
		          "
              >
                <text
                >无服务数据，请确认服务在商合是否已下单并返回PMS预估单！
                </text
                >
              </view>
              <view
                  v-show="prjFuWu.length !== 0"
                  style="
		            padding: 8rpx 0 8rpx 22rpx;
		            font-size: 24rpx;
		            font-weight: bold;
		          "
              >
                <view
                >1、服务发生贴签赋码后，需做验工计价，暂不支持逆向操作！
                </view
                >
                <view
                >2、如未找到服务数据，请先确认该服务在商合交易已下单并返回预估单！
                </view
                >
                <view style="width: 92%;text-align:right;position: relative;">
                  <text style="font-size: 22rpx;color: #007AFF">
                    <text @click="illustrate">贴签说明</text>
                    <image style="width: 32rpx;height: 32rpx;position:absolute;
		  				  					        top:12rpx;right: -32rpx"
                           src="@/static/imges/wenhaoer.png" mode=""></image>
                  </text>
                </view>
              </view>
              <view
                  v-show="prjFuWu.length != 0"
                  v-if="nosousk"
                  style="
		  				    padding: 0 20rpx 15rpx 20rpx;
		  				  "
              >
                <view class="searchbox-so">
                  <view class="u-search-inner">
                    <u-icon name="search" color="#909399" :size="28"></u-icon>
                    <u-input v-model="searchValueb" height="30"
                             placeholder="  请输入物料名称/物料编码/资源资产编码/标签ID"/>
                  </view>
                </view>
              </view>

              <uni-collapse v-show="prjFuWu.length !== 0">
                <uni-collapse-item
                    class="collapseStyle"
                    title-border="none"
                    :border="false"
                    :open="nofor"
                    v-for="(item, index) in prjFuWuer"
                    :key="index"
                >
                  <template v-slot:title>
                    <view
                        class=""
                        style="
		                  width: 100%;

		                  display: flex;
		                  align-items: center;
		                  justify-content: space-between;
		                "
                    >
                      <view class="type" style="width: 80%">
                        <text :selectable="true">{{ item.serviceName }}</text>
                      </view>
                      <button
                          v-if="titleList.isOldPrj == 0"
                          v-debounce="() => toLabel2(item, item.serviceCode, item.serviceType)"
                          style="margin: 0 20rpx 0 0; padding: 0 10rpx;width: 140rpx;height: 60rpx;font-size: 26rpx;"
                          type="warn"
                          :plain="true"
                          size="mini"
                      >
                        赋码贴签
                      </button>
                      <button
                          v-if="titleList.isOldPrj == 1"
                          v-debounce="notice"
                          style="
		                   margin: 0 20rpx 0 0;
		                   padding: 0 10rpx;
		                   width: 140rpx;height: 60rpx;font-size: 26rpx;
		                   color: grey;
		                   border-color: grey;
		                 "
                          type="warn"
                          :plain="true"
                          size="mini"
                      >
                        赋码贴签
                      </button>
                    </view>
                  </template>
                  <view
                      class="content"
                      v-for="(key, index) in item.isAssignCodeListInfos"
                      style="
		                height: auto;
		                margin-bottom: 5px;
		                background-color: #eee;
		                display: flex;
		                justify-content: space-between;
		                align-items: flex-end;
						position: relative;

		              "
                      :key="index"
                  >
                    <view style="width: 75%;">
                      <view class="type" style="min-height: 50rpx;">{{ key.categoryName }}</view>
                      <view class="type" style="height: 50rpx;"
                      >物料编码：
                        <text :selectable="true">{{ key.categoryCode }}</text>
                      </view>
                      <view class="type" style="height: 50rpx;">资源资产编码：
                        <text :selectable="true">{{ key.resourceAssetCode }}</text>
                      </view>
                      <view class="type" style="height: 50rpx;">标签ID：
                        <text :selectable="true" style="color: #007AFF;"
                              @click="schemeert(key.resourceAssetCode,key.labelId)">
                          {{ (key.labelId != null && key.resourceAssetCode != null) ? key.labelId : "" }}
                        </text>
                        <text :selectable="true" style="color: black;">
                          {{ (key.labelId == null || key.resourceAssetCode == null) ? key.labelId : "" }}
                        </text>
                      </view>
                        <!--添加显隐判断条件-->
                        <view class="type" style="height: 50rpx;" v-if="+key.isElectrical===1">数量(米)：
                            <text :selectable="true">{{ key.detailNum }}</text>
                        </view>
                    </view>
                    <button v-show="Sinformation"
                            v-if="key.labelId!=null&key.specState!=1"
                            @click="toSignChangeimg({osDetailId:''}, key)"
                            style=" padding: 0 10rpx;width: 140rpx;height: 60rpx;font-size: 26rpx;position:absolute;right: 30rpx;top: 10rpx;"
                            type="warn"
                            :plain="true"
                            size="mini"
                    >
                      查看照片
                    </button>
                    <button
                        @click.stop="toSignChange2(key, 1)"
                        style="padding: 0 10rpx;width: 140rpx;height: 60rpx;font-size: 26rpx;position: absolute;right: 30rpx;top: 74rpx;"
                        type="warn"
                        :plain="true"
                        size="mini"
                    >
                      换签
                    </button>
                    <button v-if="key.labelId!=null"
                            @click="() => delFw(key)"
                            style=" padding: 0 10rpx;width: 140rpx;height: 60rpx;font-size: 26rpx;position:absolute;right: 30rpx;top: 140rpx;"
                            type="warn"
                            :plain="true"
                            size="mini"
                    >
                      解绑标签
                    </button>
                      <!--添加显隐判断条件-->
                      <button v-if="+key.isElectrical===1"
                              @click="() => editNum(item.serviceCode,key.categoryCode)"
                              style=" padding: 0 10rpx;width: 180rpx;height: 60rpx;font-size: 26rpx;position:absolute;right: 12rpx;top: 206rpx;"
                              type="warn"
                              :plain="true"
                              size="mini"
                      >
                          修改绑定数量
                      </button>
                  </view>
                </uni-collapse-item>
              </uni-collapse>
              <view
                  v-show="prjFuWu.length === 0"
                  class=""
                  style="margin-top: 200rpx; text-align: center; color: #d9001b"
              >
                暂无数据
              </view>
            </view>
            <!-- 辅材模块 -->
            <view class="" style="height: 100vh" v-show="curNow1 == 2">
              <view
                  style="
		          padding: 8rpx 0 8rpx 22rpx;
		          font-size: 24rpx;
		            color: red;

		            font-weight: bold;
		          "
              >
                <text>如项目中使用了线缆，请依据线缆规格进行贴签赋码！</text>
                <view style="width: 92%;text-align:right;position: relative;">
                  <text style="font-size: 22rpx;color: #007AFF">
                    <text @click="illustrate">贴签说明</text>
                    <image style="width: 32rpx;height: 32rpx;position:absolute;
		  				  					        top:12rpx;right: -32rpx"
                           src="@/static/imges/wenhaoer.png" mode=""></image>
                  </text>
                </view>
              </view>
              <uni-collapse>
                <uni-collapse-item
                    class="collapseStyle"
                    title-border="none"
                    :border="false"
                >
                  <template v-slot:title>
                    <view
                        class=""
                        style="
		                  width: 100%;
		                  height: 80rpx;
		                  display: flex;
		                  align-items: center;
		                  justify-content: space-between;
		                "
                    >
                      <view class="type" style="width: 78%">
                        <text :selectable="true"> 10KV电力电缆</text>
                      </view>
                      <button
                          v-debounce="() => toLabel3('10KV电力电缆', '01610101')"
                          style="margin: 0 20rpx 0 0; padding: 0 10rpx;width: 140rpx;height: 60rpx;font-size: 26rpx;"
                          v-show="showBotton10kv"
                          v-if="titleList.isOldPrj == 0"
                          type="warn"
                          :plain="true"
                          size="mini"
                      >
                        赋码贴签
                      </button>
                      <button
                          v-if="titleList.isOldPrj == 1"
                          v-debounce="() => notice"
                          v-show="showBotton10kv"
                          style="
		                    margin: 0 20rpx 0 0;
		                    padding: 0 10rpx;
		  							width: 140rpx;height: 60rpx;font-size: 26rpx;
		                    color: grey;
		                    border-color: grey;
		                  "
                          type="warn"
                          :plain="true"
                          size="mini"
                      >
                        赋码贴签
                      </button>
                    </view>
                  </template>
                  <view
                      class="content"
                      style="
		                height: auto;
		                background-color: #eee;
		                margin-bottom: 5px;
						position: relative;
		              "
                      v-for="(item, index) in khqFuCai"
                      v-show="item.assetCode === '01610101'"
                      :key="index"
                  >
                    <view class="type">
                      <text :selectable="true">{{ item.categoryName }}</text>
                    </view>
                    <view class="type"
                    >物料编码：
                      <text :selectable="true">{{ item.categoryCode }}</text>
                    </view
                    >
                    <view class="type"
                    >资源资产编码：
                      <text :selectable="true">{{ item.resourceAssetCode }}</text>
                    </view
                    >
                    <view class="type">标签ID：
                      <text :selectable="true" style="color: #007AFF;"
                            @click="schemeert(item.resourceAssetCode,item.labelId)">
                        {{ (item.labelId != null && item.resourceAssetCode != null) ? item.labelId : "" }}
                      </text>
                      <text :selectable="true" style="color: black;">
                        {{ (item.labelId == null || item.resourceAssetCode == null) ? item.labelId : "" }}
                      </text>
                    </view>
                    <button
                        v-show="khqShowButton10kv"
                        @click.stop="toSignChange2(khqFuCai, 2, '01610101')"
                        style="padding: 0 10rpx;width: 140rpx;height: 60rpx;font-size: 26rpx;position: absolute;right: 20rpx;bottom: 80rpx;"
                        type="warn"
                        :plain="true"
                        size="mini"
                    >
                      换签
                    </button>
                      <button
                          v-show="khqShowButton10kv"
                          @click.stop="unbindLabelAssist(item)"
                          style="padding: 0 10rpx;width: 140rpx;height: 60rpx;font-size: 26rpx;position: absolute;right: 20rpx;bottom: 10rpx;"
                          type="warn"
                          :plain="true"
                          size="mini"
                      >
                          解绑标签
                      </button>
                  </view>
                </uni-collapse-item>
                <uni-collapse-item
                    class="collapseStyle"
                    title-border="none"
                    :border="false"
                >
                  <template v-slot:title>
                    <view
                        class=""
                        style="
		                  width: 100%;
		                  height: 80rpx;
		                  display: flex;
		                  align-items: center;
		                  justify-content: space-between;
		                "
                    >
                      <view class="type" style="width: 78%">
                        <text :selectable="true"> 1KV以下电力电缆</text>
                      </view>
                      <button
                          v-if="titleList.isOldPrj == 0"
                          v-show="showBotton1kv"
                          v-debounce="() => toLabel3('1KV以下电力电缆', '01610102')"
                          style="margin: 0 20rpx 0 0; padding: 0 10rpx;width: 140rpx;height: 60rpx;font-size: 26rpx;"
                          type="warn"
                          :plain="true"
                          size="mini"
                      >
                        赋码贴签
                      </button>
                      <button
                          v-if="titleList.isOldPrj == 1"
                          v-show="showBotton1kv"
                          v-debounce="() => notice"
                          style="
		                    margin: 0 20rpx 0 0;
		                    padding: 0 10rpx;
		  							width: 140rpx;height: 60rpx;font-size: 26rpx;
		                    color: grey;
		                    border-color: grey;
		                  "
                          type="warn"
                          :plain="true"
                          size="mini"
                      >
                        赋码贴签
                      </button>
                    </view>
                  </template>
                  <view
                      class="content"
                      style="
		                height: auto;
		                background-color: #eee;
		                margin-bottom: 5px;
						position: relative;
		              "
                      v-for="(item, index) in khqFuCai"
                      v-show="item.assetCode === '01610102'"
                      :key="index"
                  >
                    <view class="type">
                      <text :selectable="true">{{ item.categoryName }}</text>
                    </view>
                    <view class="type">物料编码：
                      <text :selectable="true">{{ item.categoryCode }}</text>
                    </view>
                    <view class="type">资源资产编码：
                      <text :selectable="true">{{ item.resourceAssetCode }}</text>
                    </view>
                    <view class="type">标签ID：
                      <text :selectable="true" style="color: #007AFF;"
                            @click="schemeert(item.resourceAssetCode,item.labelId)">
                        {{ (item.labelId != null && item.resourceAssetCode != null) ? item.labelId : "" }}
                      </text>
                      <text :selectable="true" style="color: black;">
                        {{ (item.labelId == null || item.resourceAssetCode == null) ? item.labelId : "" }}
                      </text>
                    </view>
                    <button
                        v-show="khqShowButton1kv"
                        @click.stop="toSignChange2(khqFuCai, 2, '01610102')"
                        style="padding: 0 10rpx;width: 140rpx;height: 60rpx;font-size: 26rpx;position: absolute;right: 20rpx;bottom: 80rpx;"
                        type="warn"
                        :plain="true"
                        size="mini"
                    >
                      换签
                    </button>
                      <button
                          v-show="khqShowButton1kv"
                          @click.stop="unbindLabelAssist(item)"
                          style="padding: 0 10rpx;width: 140rpx;height: 60rpx;font-size: 26rpx;position: absolute;right: 20rpx;bottom: 10rpx;"
                          type="warn"
                          :plain="true"
                          size="mini"
                      >
                          解绑标签
                      </button>
                  </view>
                </uni-collapse-item>
              </uni-collapse>
              <view
                  v-show="prjFuCai.length === 0"
                  class=""
                  style="margin-top: 200rpx; text-align: center; color: #d9001b"
              >
                暂无数据
              </view>
            </view>
            <non-external-power  v-if="curNow1 == 3" :titleList="titleList" :manageMode="loger" ref="nonExternalPower"></non-external-power>
          </scroll-view>
        </swiper-item>
      </view>

      <view class="buttonBox" v-show="current == 0 && curNow1 == 0">
        <button
            v-debounce="() => sanCodeDetailer(1)"
            type="warn"
            style="width: 30%; height: 70rpx; line-height: 70rpx; font-size: 32rpx"
        >
          到货确认
        </button>
          <button
              @click="() => sanCodeDetailer(2)"
              type="warn"
              style="width: 30%; height: 70rpx; line-height: 70rpx; font-size: 32rpx"
          >
              跨项目调整
          </button>
      </view>
      <view class="buttonBox" v-show="current == 1 && curNow2 == 0">
        <button
            @click="() => sanCodeDetailer(0)"
            type="warn"
            style="width: 30%; height: 70rpx; line-height: 70rpx; font-size: 32rpx"
        >
          解绑
        </button>
          <button
              @click="() => sanCodeDetailer(2)"
              type="warn"
              style="width: 30%; height: 70rpx; line-height: 70rpx; font-size: 32rpx"
          >
              跨项目调整
          </button>
      </view>
      <view class="buttonBox" v-if="curNow1 === 3">
        <button @click.stop="scanConfirm" type="warn" style="width: 30%; height: 70rpx; line-height: 70rpx; font-size: 32rpx">
            到货确认
        </button>
      </view>
    </view>

    <u-modal
        v-model="modal.show"
        :title="modal.title"
        :show-confirm-button="false"
    >
      <view class="slot-content">
        <rich-text :nodes="modal.content"></rich-text>
      </view>
      <view class="bottom_btn" v-show="modal.type == 2">
        <view class="bottom_btn_item" @click="cancle">确定</view>
      </view>
      <view class="bottom_btn" v-show="modal.type == 3">
        <view class="bottom_btn_item" @click="cancle">不了，谢谢</view>
        <view class="bottom_btn_item" @click="change">调整物资</view>
      </view>
      <view class="bottom_btn" v-show="modal.type == 4">
        <view class="bottom_btn_item" @click="cancle">返回</view>
      </view>
    </u-modal>
    <ElectricCable ref="electricCable" @mylick="mylick"></ElectricCable>
    <!-- 解绑模式弹框 -->
    <u-modal v-model="isShowModal" title="解绑确认" confirm-text="取消" confirm-color="#eb4b4b"
             :title-style="{fontWeight:'bold',fontSize:'40rpx'}">
      <view class=""
            style="color: #eb4b4b;text-align: center;border: 1px solid #F2F2F2;height: 100rpx;line-height: 100rpx;font-size: 30rpx;">
        <text v-debounce="() => modalClick('01')">解绑（原标签保留)</text>
      </view>
      <view class=""
            style="color: #eb4b4b;text-align: center;border: 1px solid #F2F2F2;height: 100rpx;line-height: 100rpx;font-size: 30rpx;">
        <text v-debounce="() => modalClick('02')">解绑（原标签遗失或破损）</text>
      </view>
    </u-modal>
    <view class="">
      <u-popup v-model="bottomShow" mode="bottom">
        <view style="height: 300rpx;">
          <view v-debounce="() => getCamera()"
                style="width: 100%;height: 100rpx;border-bottom: 1px solid #D3D3D3;line-height: 100rpx;padding-left:46% ;">
            <text style="font-size: 30rpx;">扫码</text>

          </view>
          <view v-debounce="() => getSelectImg()"
                style="width: 100%;height: 100rpx;border-bottom: 1px solid #D3D3D3;line-height: 100rpx;padding-left:46% ;">
            <text style="font-size: 30rpx;">相册</text>
            <text style="font-size: 24rpx;color: #EB4B4B;">(建议照片不得超过4M)</text>

          </view>
          <view @click="canceler()"
                style="width: 100%;height: 100rpx;border-bottom: 1px solid #D3D3D3;line-height: 100rpx;padding-left:46% ;">
            <text style="font-size: 30rpx;">取消</text>

          </view>
        </view>
      </u-popup>
    </view>
    <EditNumModal @close="()=>{ showEditNumModal=false}" @confirm="editNumCon" v-if="showEditNumModal"></EditNumModal>
  </view>
</template>

<script>
import ElectricCable from "./components/ElectricCable.vue";
import EditNumModal from "./components/editNumModal.vue";
import {getGPS} from "../utils/gpsUtil";
import {checkClickAbled} from "./utils";
import NonExternalPower from "@/inspur/completionConfirmation/components/NonExternalPowerList.vue";

var qrcode = require('@/static/reqrcode.js');

export default {
  components: {
      NonExternalPower,
    ElectricCable,
      EditNumModal,
  },
  data() {
    return {
      Sinformation: false,
      ionerid: "",
      Confirmeder: false,
      arrowheada: [],
      arrowheadaer: [],
      nosousk: false,
      bottomShow: false,
      nofor: false,
      indexerty: "",
      bes64: "",
      scanWord: "",
      scanWorderty: "",
      scanWordertytyu: "",
      panduan: "",
      searchValuea: "",  //主材搜索
      searchValueb: "",  //服务搜索
      searchValuec: "",  //主材搜索
      searchValued: "",  //服务搜索
      modal: {
        show: false,
        title: null,
        content: null,
        prjId: null,
        resourceAssetLabelId: null,
      },
      isShowModal: false,
      titleList: {},
      titleFlag: true,
      list: [
        {
          name: "待绑定",
        },
        {
          name: "可解绑",
        },
        {
          name: "可换签",
        },
      ],
      // 因为内部的滑动机制限制，请将tabs组件和swiper组件的current用不同变量赋值
      current: 0, // tabs组件的current值，表示当前活动的tab选项
      swiperCurrent: 0, // swiper组件的current值，表示当前那个swiper-item是活动的
      curNow1: 0,
      curNow2: 0,
      curNow3: 0,
      checkBoxValue: 1,
      isShowCheckbox: false,
      checkBoxRange: [
        {
          value: 1,
          text: "已绑定",
        },
        {
          value: 0,
          text: "未绑定",
        },
      ],
      zyzcbm: "",
      chooseno: "",
      bqid: "",
      prjInfo: [], //待绑定
      prjInfoer: [], //待绑定
      unbindData: [], //可解绑列表信息
      prjInfoChange: [], //可换签
      prjInfoChangeer: [], //可换签
      prjFuWu: [], //待绑定
      prjFuWuer: [], //待绑定
      swapMode: '01',// 正常模式
      prjFuCai: [], //待绑定
      khqFuWu: [], //可换签
      khqFuWuer: [], //可换签
      khqFuCai: [], //可换签
      biaoqian1: "10KV电缆",
      biaoqian2: "1KV以下电缆",
      showBotton10kv: true, //控制10kv赋码贴签按钮显示隐藏
      showBotton1kv: true, //控制1kv赋码贴签按钮显示隐藏
      khqShowButton10kv: false, //控制可换签辅材10kv显示隐藏
      khqShowButton1kv: false, //控制可换签辅材1kv显示隐藏
      // 请求没有返回，不可点击
      loading: false,
      contentHeight: 0,
      juLi: "",
      gdjuLi: "",
      // panduan: "0",
      contenrawz: 0,
      contenrafw: 0,
      loger: "",
      fprjId: "",
      schoolNameert: "",
      dialogData: {
        title: '',
        content: '',
        onlyShowConfirm: false
      },
      showSlot: false,
      pmsToken:'',
      typeFlag:'0', //判断是甲供0还是乙供1,
      showEditNumModal:false,
      listTabs:[],
      showTabs:false,
        serviceCodeInit:'',
        categoryCodeInit:'',
    };
  },
  watch: {
    current() {
      this.pageRefresh();
    },
    // 主材搜索
    searchValuea() {

      if (this.searchValuea != "") {
        this.nofor = true;
        if ((Number(this.searchValuea))) {
          console.log("数字")
          this.categoryCodewz = this.searchValuea
          this.serviceNamwz = ""
        } else {

          console.log("非数字")
          this.categoryCodewz = ""
          this.serviceNamwz = this.searchValuea
        }
        console.log('传入参数1:' + this.serviceNamwz);
        console.log('传入参数2:' + this.categoryCodewz);
        if (this.serviceNamwz == "") {
          let scoresb2 = this.prjInfo.filter((item) => {
            return item.categoryCode.includes(this.categoryCodewz)
          });
          this.prjInfoer = scoresb2;
        } else if (this.categoryCodewz == "") {
          let scoresb2 = this.prjInfo.filter((item) => {
            return item.categoryName.includes(this.serviceNamwz)
          });
          this.prjInfoer = scoresb2;
        } else { console.log(111)}
      } else {
        this.prjInfoer = this.prjInfo;
        this.nofor = false;
      }
    },
    // 服务搜索
    searchValueb() {
      if (this.searchValueb != "") {
        this.nofor = true;
        console.log('传入参数2:' + this.searchValueb);
        let scoresb2 = this.prjFuWu.filter((item1) => {
          console.log("这里到子项了")     //categoryName  categoryCode  resourceAssetCode  labelId
          let arrra = item1.isAssignCodeListInfos.filter((item) => {
            if (item.categoryName.includes(this.searchValueb) != false || item.categoryCode.includes(this.searchValueb) != false || item.resourceAssetCode.includes(this.searchValueb) != false || item.labelId.includes(this.searchValueb) != false) {
              return true
            } else { console.log(111)}
          })
          if (arrra.length != 0) {
            return item1
          }else { console.log(111)}

        });
        this.prjFuWuer = scoresb2;
      } else {
        this.prjFuWuer = this.prjFuWu;
        this.nofor = false;
      }
    },
    // 主材搜索
    searchValuec() {
      if (this.searchValuec != "") {
        this.nofor = true;
        console.log('传入参数3:' + this.searchValuec);
        this.prjInfoChangeer = this.getSearchValueCItem();
      } else {
        this.prjInfoChangeer = this.prjInfoChange;
        this.nofor = false;
      }
    },
    // 服务搜索
    searchValued() {
      if (this.searchValued != "") {
        this.nofor = true;
        console.log('传入参数2:' + this.searchValued);
        let scoresb2 = this.khqFuWu.filter((item1) => {
          console.log("这里到子项了")
          let arrrc = item1.isAssignCodeListInfos.filter((item) => {
            if (item.categoryName.includes(this.searchValued) != false ||item.categoryCode.includes(this.searchValued) != false || item.resourceAssetCode.includes(this.searchValued) != false || item.labelId.includes(this.searchValued) != false) {
              return true
            } else{}
          })
          if (arrrc.length != 0) {
            return item1
          }

        });
        this.khqFuWuer = scoresb2;
      } else {
        this.khqFuWuer = this.khqFuWu;
        this.nofor = false;
      }
    },
  },
  onLoad(option) {
    uni.setStorageSync("PMS20url", process.uniEnv.commonPMS20+'/material')
    uni.setStorageSync("PMStoken", option.sysToken)
    uni.setStorageSync("sysToken", option.sysToken)
    uni.setStorageSync("LOGINACCT", option.LOGINACCT)
    this.pmsToken=option.pmsToken;
    let list = JSON.parse(decodeURIComponent(option.list))
    this.loger=option.loger
    this.fprjId=option.fprjId
    this.titleList = {
      ...list,
      prjId: option.prjId,
      isOldPrj: 0,
    }
    this.$axios.get('/material/api/app/mainMaterialLable/queryPrjInfoByPrjId',{prjId:option.prjId}).then((res)=>{
      console.log('res',res)
      let obj = res.data
      Object.assign(this.titleList,obj)
      if (obj.projectName) {
          this.titleList.prjName = obj.projectName
          this.titleList.subPrjName = obj.projectName
      }
    })
    this.$axios.get('/material/api/cableMateLabel/isNeedLabel',{prjId:option.prjId}).then((res)=>{
        if(res.data){
            this.listTabs=['甲供物资', '总包类服务', '外电电缆','非外电电缆']
        }else{
            this.listTabs=['甲供物资', '总包类服务', '外电电缆']
        }
        this.showTabs=true
    })
    console.log('this.titleList1',this.titleList)
    const {windowHeight} = uni.getSystemInfoSync();
    this.contentHeight = windowHeight - 75 + "px";
    // 控制是否显示表头
    if (uni.getStorageSync("moaType") == "0") {
      this.titleFlag = false;
    }
    this.prjFuWuer = this.prjFuWuer;
    this.ionerid = this.titleList.prjId;
    console.log('option',option)
      this.getList();
  },
  onHide() {
        imp.iWindow.setMenus([{
        ico: '',
        callback: () => {
            console.log('关闭')
        }
      }]);
  },
  onShow() {
    this.Permissioner();
    const url = window.location.origin + window.location.pathname
	  let menus=[{
      ico: url+'static/imges/fangdajing.png',
      callback: ()=> this.sousk()
    }];
	  imp.iWindow.setMenus(menus)
    let pages = getCurrentPages();
    if (pages[pages.length - 1].$vm.schoolName) {
      this.schoolNameert = pages[pages.length - 1].$vm.schoolName
    }
    console.log("上个页面传来的", this.schoolNameert)
    if (this.schoolNameert == "1") {
      this.getFuWu("1")
    } else if (this.schoolNameert == "2") {
      this.getList()
    } else if (this.schoolNameert == "3") {
      this.getFuCai("1");
    } else{
        console.log(111,222)
        this.$refs.nonExternalPower.getNonPowerList();
    }
  },
  methods: {
    getSearchValueCItem(){
      let scoresb2
      scoresb2 = this.prjInfoChange.filter((item) => {
        if (this.getSearchValueCStatusOne(item)) {
          return item.categoryName.includes(this.searchValuec)
        } else if (this.getSearchValueCStatusTwo(item)) {
          return item.categoryCode.includes(this.searchValuec)
        } else {
          let arrrb = this.getSearchValueCArr(item)
          if (arrrb.length != 0) {
            return item
          }
        }
      });
      return scoresb2;
    },
    getSearchValueCArr(item){
      return item.labelCode.filter((item1) => {
        if (item1.isBound == this.checkBoxValue) {
          if ( this.getSearchValueCStatusThree(item1) || this.getSearchValueCStatusFour(item1)) {
            return true
          }
        }
      })
    },
    getSearchValueCStatusOne(item){
      return item.categoryName != null && item.categoryName.includes(this.searchValuec) != false
    },
    getSearchValueCStatusTwo(item){
      return item.categoryCode != null && item.categoryCode.includes(this.searchValuec) != false
    },
    getSearchValueCStatusThree(item1){
      return item1.resourceAssetCode != null && item1.resourceAssetCode.includes(this.searchValuec) != false
    },
    getSearchValueCStatusFour(item1){
      return item1.labelId != null && item1.labelId.includes(this.searchValuec) != false
    },
    scanConfirm(){
      this.$refs.nonExternalPower.scanConfirm();
    },
    mylick(str) {
      console.log("来自子组件穿的数据：", str);

      this.getFuCai("1");
    },
    // 修改绑定数量
    editNum(serviceCode,categoryCode){
        console.log('选中数据',serviceCode,categoryCode)
        this.serviceCodeInit=serviceCode;
        this.categoryCodeInit=categoryCode;
        this.showEditNumModal=true
    },
    editNumCon(data){
        this.showEditNumModal=false
        const that=this;
        const params={
            prjId:this.titleList.prjId,
            serviceCode:this.serviceCodeInit,
            categoryCode:this.categoryCodeInit,
            detailNum:data
        }
        this.$axios.post('/material/api/app/serverLable/updateCableNum',params).then(()=>{
            uni.showModal({
                confirmColor: '#eb4b4b',
                title: '温馨提示',
                content: '修改成功！',
                showCancel: false,
                success: () => {
                    that.getFuWu("1");
                }
            })
        })
    },
    back() {
      if (!this.loading) {
        uni.navigateBack({
          delta: 1,
        });
      }
    },
    // 搜索框的显示隐藏
    sousk() {
      this.nosousk = !this.nosousk;
      if (!this.nosousk) {
        this.searchValuea = "";
        this.searchValueb = "";
        this.searchValuec = "";
        this.searchValued = "";
        this.nofor = false;
      }
    },


    // 跳转至经分系统
    schemeert(options, amger) {
      console.log("测试", options, amger)
      this.$axios.get('/material/api/pub/material/getOtherSysIpAndPort',{ sysCode:'jingFenSysIpAndPort'}).then((res)=>{
        imp.iWindow.open({url:`${res.data}/api/user/getRedirectToBcsystem?resourceAssetCode=${options}&elabelNum=${amger}`})
      })

    },
    // 跳转到设计方案列表
    // 跳转到设计方案列表
    // 解决异步
    // 物资申领
    async scheme() {
        let sysToken = uni.getStorageSync("sysToken")
        if( +this.titleList.isInfoPrj === 1){
            //信息化项目
            imp.iWindow.open({url:`${process.uniEnv.BASE_JN_URL}/#/inspur/inspectionAndValuation/components/materialView?bizSeq=${this.titleList.prjId}&isChanged=0&sysToken=${sysToken}`})
        }else{
            //非信息化项目
            imp.iWindow.open({url:`${process.uniEnv.BASE_JN_URL}/#/inspur/inspectionAndValuation/overallComprehensiveQuery/components/materialView?prjId=${this.titleList.prjId}&isChanged=0&sysToken=${sysToken}`})
        }
    },
    // 取消
    canceler() {
      this.bottomShow = false
    },
    sanCodeDetailer(e) {
      this.bottomShow = true;
      this.bes64 = "";
      this.scanWorderty = "";
      this.scanWordertytyu = "";
      this.indexerty = e;
    },
    // 直接扫码
    getCamera() {
      this.bottomShow = false
      this.sanCodeDetail(this.indexerty)
    },
    // 上传图片
    getSelectImg() {
      this.scanWorderty = "";
      this.bottomShow = false

      this.xiangce();
    },
    base642Url(data) {
      var parts = data.split(';base64,'),
          contentType = parts[0].split(':')[1],
          raw = window.atob(parts[1]),
          length = raw.length,
          arr = new Uint8Array(length);
      for (var i = 0; i < length; i++) {
        arr[i] = raw.charCodeAt(i);
      }
      var blob = new Blob([arr], {type: contentType});
      return URL.createObjectURL(blob);
    },
    // 大小
    showSize(base64url) {
      // const indexBase64 = base64Str.indexOf('base64,');
      //   if (indexBase64 < 0) return -1;
      //   const str = base64Str.substr(indexBase64 + 6);
      //   return (str.length * 0.75).toFixed(2);
      var str = base64url.replace('data:image/png;base64,', '');
      // 找到等号，把等号也去掉
      var equalIndex = str.indexOf('=');
      if (str.indexOf('=') > 0) {
        str = str.substring(0, equalIndex);
      }
      // 原来的字符流大小，单位为字节
      var strLength = str.length;
      // 计算后得到的文件流大小，单位为字节
      var fileLength = parseInt(strLength - (strLength / 8) * 2);
      // 由字节转换为kb
      var size = "";
      size = (fileLength / 1024).toFixed(2);
      var sizeStr = size + ""; //转成字符串
      var index = sizeStr.indexOf("."); //获取小数点处的索引
      var dou = sizeStr.substr(index + 1, 2) //获取小数点后两位的值
      if (dou == "00") { //判断后两位是否为00，如果是则删除00
        return sizeStr.substring(0, index) + sizeStr.substr(index + 3, 2)
      }
      return size;
    },

    baseertt(base64Str) {
      let that = this;
      let format = base64Str.thumbnailUrl.split(".")[1]
      console.log("格式", format)
      if (format == 'jpg' || format == 'jpeg' || format == 'png' || format == 'bmp') {

      } else if (format == 'JPG' || format == 'JPEG' || format == 'PNG' || format == 'BMP') {

      } else {
        uni.showModal({
    confirmColor: '#eb4b4b',
          title: "温馨提示",
          content: "请上传jpg/jpeg/png/bmp格式的照片",
          showCancel: false,
        });
        that.scanWorderty = "2";
        return
      }


      let base64Top = 'data:image/jpeg;base64,'
      that.bes64 = base64Top + base64Str.originalData;
      // 图片大小
      const imgFileer = that.showSize(that.bes64);
      console.log("计算的图片大小", imgFileer);
      console.log("计算的图片大小", imgFileer / 1024);
      if (imgFileer > 4096) {
        that.scanWordertytyu = "2";
      }
      // 识别二维码
      const imgFile = that.base642Url(that.bes64);
      //const imgFile = that.base642Url(base64Str.thumbnailData);
      console.log("获取的图片路径", imgFile);
      qrcode.decode(imgFile);
      qrcode.callback = function (img) {
        if (img == "error decoding QR Code") {
          uni.showModal({
    confirmColor: '#eb4b4b',
            title: "温馨提示",
            content: "识别二维码失败，请重新选择照片",
            showCancel: false,
          });
          that.scanWorderty = "2";
          return
        } else {
          that.scanWord = img
          console.log("二维码", that.scanWorderty);
        }
      }
      setTimeout(() => {
        //console.log("最终所得",that.bes64,that.scanWord);
        console.log("判断", that.scanWordertytyu, that.scanWorderty);
        if (that.scanWordertytyu == 2) {
          that.bes64 = "";
        }
        if (that.scanWorderty != 2) {
          getGPS(that.scanWord, that.indexerty, that.scanCodeInfo);
        }
      }, 100);


    },
    xiangce() {
      let that = this
      console.log('选择图片了：');
      var option = {
        quality: 86,
        encodingType: imp.iCamera.EncodingType.JPEG,
        sizeLimit: 1024 * 100,
        num: 1,
      };

      var failed = (info) => {
        uni.showModal({
    confirmColor: '#eb4b4b',
          title: '温馨提示',
          content: "相册调用失败",
          showCancel: false,
        });
      };
      var success = (info) => {
        console.log('这是相册所得：', info[0]);
        var base64Top = 'data:image/jpeg;base64,'
        setTimeout(() => {
          that.baseertt(info[0])
        }, 30);

      };
      imp.iCamera.select(option, success, failed);

    },

    // 跳转扫码详情页
    sanCodeDetail(index) {
      if (this.loading) {
        return;
      }
      ;

      if (index == "1") {
        window.TDAPP.onEvent("详情页到货确认按钮");
      }
      if (index == "0") {
        window.TDAPP.onEvent("详情页解绑按钮");
      }
      ;
      console.log("详情页到货确认解绑按钮");
      console.log("准备获取距离了");
      // this.scanCodeInfo("T2001835604",1,"36.325654","117.3262");
      imp.iBarCode.scan((result) => {
        //直接调用接口
        getGPS(result, index, this.scanCodeInfo);
      });

    },
    scanCodeInfozhanzhi(e) {
      getGPS(e, "0", this.scanCodeInfo);
    },
    //###########################################到货确认功能start##########################################
    scanCodeInfo(label, index, latitude, longitude, controlModeType = "1") {
      if (this.loading) {
        return;
      }
      let that = this;
      let latituder = parseFloat(latitude).toFixed(6);
      let longituder = parseFloat(longitude).toFixed(6);
      console.log(latituder, longituder)
      that.modal.index = index;
      console.log("1,传入参数" + label, this.titleList.prjId);
      console.log("传入参数" + index); //绑定 1；解绑 0
      uni.showLoading({
        title: '加载中...',
        mask: true
      });
      uni.request({
        url: process.uniEnv.commonPMS20 + "/material/api/app/mainMaterialLable/scanLableConfirm",
        method: "POST",
        dataType: "json",
        timeout: 10000 * 60,
        header: {
          "sysToken": uni.getStorageSync("PMStoken"),
        },
        data: {
          prjId: that.titleList.prjId,
          labelId: label,
          operatType: index,
          isFromPhoto: "1",
          latitude: latituder,
          longitude: longituder,
          controlModeType: controlModeType,
          file: that.bes64,
        },
        success: (res) => {
          uni.hideLoading();
          var data = res.data;
          console.log("接口数据:", data);
          this.scanCodeInfoSuccess(data,index, latitude, longitude);
          uni.hideLoading();
          uni.stopPullDownRefresh();
        },
        fail: (data, code) => {
          uni.showModal({
            confirmColor: '#eb4b4b',
            title: "温馨提示",
            content: "异常,请稍候再试",
            showCancel: false,
          });
          uni.hideLoading();
          uni.stopPullDownRefresh();
          console.log("fail" + JSON.stringify(data));
        },
      });
    },
    scanCodeInfoSuccess(data,index, latitude, longitude){
      let that=this;
      if (data.data != null && data.data.scanConfirmData != null) {
        that.juLi = data.data.scanConfirmData.distance / 1;
        that.gdjuLi = data.data.scanConfirmData.standardDistance / 1;
        console.log("给距离:", that.gdjuLi);
        console.log("距离:", that.juLi);
      }
      that.scanCodeInfoResult(data,index, latitude, longitude);
    },
    scanCodeInfoResultOne(data,index){
      let that=this;
      if (data.data.scanConfirmData != null) {
        data.prjId = this.titleList.prjId;
        that.scanCodeInfoResultTwo(data,index);
      } else {
        that.modal.show = true;
        that.modal.content =
                "<div style='text-align:center'>" + data.message == null
                        ? data.resPmsMdm.errorMsg
                        : data.message + "</div>";
        that.modal.type = 2;
      }

    },
    scanCodeInfoResultTwo(data,index){
      if (index == 1) {
        //绑定 1；解绑 0
        uni.navigateTo({
          url:
                  "../scanOut/detail?item=" +
                  encodeURIComponent(JSON.stringify(data)) +
                  "&flag=2&panduan=1&routeType=aSupply&fushuuser=true",
        });
      } else {
        uni.navigateTo({
          url:
                  "../scanOut/detail?item=" +
                  encodeURIComponent(JSON.stringify(data)) +
                  "&flag=3&panduan=1&fushuuser=true",
        });
      }
    },
    scanCodeInfoResultThree(data,index,ref, latitude, longitude){
      let latituder = parseFloat(latitude).toFixed(6);
      let longituder = parseFloat(longitude).toFixed(6);
      let that=this;
      if (that.juLi <= that.gdjuLi) {
        that.scanCodeInfoResultOne(data,index);
      } else if (ref == 2) {
        uni.showModal({
          confirmColor: '#eb4b4b',
          title: "站址经纬度校验",
          content: `您当前经纬度（WGS84坐标系）为${longituder}，${latituder}，距站址${that.juLi} m，已超出${that.gdjuLi} m的最大距离限制。\n是否继续本次到货确认？`,
          success: (res1) => {
            if (res1.confirm) {
              //&&juLi<=400
              that.scanCodeInfoResultOne(data,index);
            } else {
              console.log("用户点击否");
            }
          },
        });
      } else {
        uni.showModal({
          confirmColor: '#eb4b4b',
          showCancel: false,
          title: "站址经纬度校验",
          content: `您当前经纬度（WGS84坐标系）为${longituder}，${latituder}，距站址${that.juLi} m，已超出${that.gdjuLi} m的限制，暂不允许进行到货确认。\n如需修改站址经纬度，请在资源系统进行修改`,
        });
      }
    },
    scanCodeInfoResultFour(data,index, latitude, longitude){
      let that=this;
      if (data.data.serviceState == 2) {
        that.scanCodeInfoResultEight(data);
      } else if (data.data.serviceState == 3) {
        that.scanCodeInfoResultNine(data);
      } else if (data.data.serviceState == 4) {
        that.scanCodeInfoResultFive(data,index, latitude, longitude);
      } else if (this.getScanCodeInfoResultFourStatus(data)) {
        that.scanCodeInfoResultSeven(data);
      } else {
        that.scanCodeInfoResultError(data);
      }
    },
    scanCodeInfoResultFive(data,index, latitude, longitude){
      let that=this;
      if (data.data.scanConfirmData != null && data.data.scanConfirmData.distance != null && data.data.scanConfirmData.standardDistance != null) {
        that.juLi = data.data.scanConfirmData.distance;
        that.gdjuLi = data.data.scanConfirmData.standardDistance;
        var ref = data.data.scanConfirmData.controlModeType;
        that.scanCodeInfoResultSix(data,index,ref, latitude, longitude);
      } else {
        uni.showModal({
          confirmColor: '#eb4b4b',
          title: "温馨提示",
          content: "扫码地址远大于标准距离，请重新选择扫码地点",
          showCancel: false,
        });
      }
    },
    scanCodeInfoResultSix(data,index,ref, latitude, longitude){
      let that=this;
      let latituder = parseFloat(latitude).toFixed(6);
      let longituder = parseFloat(longitude).toFixed(6);
      if (that.juLi <= that.gdjuLi) {
        data.prjId = that.titleList.prjId;
        that.scanCodeInfoResultTwo(data,index);
      } else if (ref == 2) {
        uni.showModal({
          confirmColor: '#eb4b4b',
          title: "站址经纬度校验",
          content: `您当前经纬度（WGS84坐标系）为${longituder}，${latituder}，距站址${that.juLi} m，已超出${that.gdjuLi} m的最大距离限制。\n是否继续本次到货确认？`,
          showCancel: true,
          success: (res1) => {
            if (res1.confirm) {
              console.log("用户点击是");
              data.prjId = that.titleList.prjId;
              that.scanCodeInfoResultTwo(data,index);
            } else {
              console.log("用户点击否");
            }
          }
        })
      } else {
        uni.showModal({
          confirmColor: '#eb4b4b',
          showCancel: false,
          title: "站址经纬度校验",
          //  content: `您与站址间的距离为 ${that.juLi} m，已超出地市规定 ${that.gdjuLi} m的最大距离，将退出本次的到货确认`,
          content: `您当前经纬度（WGS84坐标系）为${longituder}，${latituder}，距站址${that.juLi} m，已超出${that.gdjuLi} m的限制，暂不允许进行到货确认。\n如需修改站址经纬度，请在资源系统进行修改`,
        });
      }
    },
    scanCodeInfoResultSeven(data){
      uni.showModal({
        confirmColor: '#eb4b4b',
        title: "温馨提示",
        content: data.message == null ? "您还不能对该项目进行站址物资扫码操作" : "您还不能进行对该项目进行站址物资扫码操作," + data.message,
        showCancel: false,
      });
    },
    scanCodeInfoResultEight(data){
      let ley = data.data.resPmsMdm == null ? data.message : data.data.resPmsMdm.errorMsg
      console.log("0000000", ley)
      uni.showModal({
        confirmColor: '#eb4b4b',
        title: "温馨提示",
        content: data.message == null ? "该物资不允许绑定/解绑" :  ley,
        showCancel: false,
      });
    },
    scanCodeInfoResultNine(data){
      let that=this;
      uni.showModal({
        confirmColor: '#eb4b4b',
        title: '温馨提示',
        content: data.message == null ? "该物资不允许绑定/解绑" : data.message,
        success: function (res1) {
          if (res1.confirm) {
            console.log('用户点击是', that.titleList.prjId, data.data.scanConfirmData.resourceAssetLabelId);
            //that.change();
            that.checkNeedAdjust(that.titleList.prjId, data.data.scanConfirmData.resourceAssetLabelId);
          } else {
            console.log("用户点击否");
          }
        }
      });
    },
    getScanCodeInfoResultFourStatus(data){
      return data.data.serviceState == 5 || data.data.serviceState == 6 || data.data.serviceState == 7;
    },
    scanCodeInfoResult(data,index, latitude, longitude){
      let that=this;
      if (data.code == "200" && data.data.scanConfirmData != null) {
        var ref = data.data.scanConfirmData.controlModeType;
        that.scanCodeInfoResultThree(data,index,ref, latitude, longitude);
      } else {
        if (data.data != null) {
          that.scanCodeInfoResultFour(data,index, latitude, longitude);
        } else {
          that.scanCodeInfoResultError(data);
        }
      }
    },
    scanCodeInfoResultError(data){
      uni.showModal({
        confirmColor: '#eb4b4b',
        title: "温馨提示",
        content: data.message == null ? "网络请求失败,请稍后重试" :  data.message,
        showCancel: false,
      });
    },
    checkNeedAdjust(prjId, e) {
        const params={
            oldPrjId: '',
            newPrjId: prjId,
            categoryCode: '',
            transferNum: '',
            subPrjId:'',
            assetLabelId:e
        }
        this.$axios.post('/material/api/flows/adjustPrjFlow/checkIsNeedAdjustPrjFlow',params).then((res)=>{
            if(+res.data ===1){
                this.jumpAdjustProject(params);
            }else{
                this.adjustItem(prjId, e);
            }
        })
    },
    jumpAdjustProject(params){
      let that=this;
      uni.showModal({
          title: "温馨提示",
          content: "发起跨项目调整操作需双方项目经理审批",
          confirmColor:'#eb4b4b',
          success: function (result) {
              if(result.confirm){
                  that.$axios.post('/material/api/flows/adjustPrjFlow/startAdjustPrjFlow',params).then((res)=>{
                      uni.navigateTo({
                          url:'/inspur/adjustProject/index?workItemId='+ res.data+'&type=todo&status=1',
                      })
                  })
              }else{
                  console.log('取消了')
              }
          }
      });
    },
    adjustItem(prjId, e) {
      uni.showLoading({
        title: "加载中...",
        mask: true
      });
      uni.request({
        url: process.uniEnv.commonPMS20 + "/material/api/app/mainMaterialLable/adjustItem?prjId=" +
            prjId +
            "&resourceAssetLabelId=" +
            e,
        method: "POST",
        dataType: "json",
        timeout: 10000 * 60,
        header: {
          "sysToken": uni.getStorageSync("PMStoken"),
        },
        data: {},
        success: (res) => {
          uni.hideLoading();
          var data = res.data;
          if (data.code == "200") {
            uni.showModal({
    confirmColor: '#eb4b4b',
              title: "温馨提示",
              content: "跨项目调整成功！",
              showCancel: false,
            });
          } else {
            uni.showModal({
    confirmColor: '#eb4b4b',
              title: "温馨提示",
              content: data.message == null ? "跨项目调整失败！" : "跨项目调整失败！" + data.message,
              showCancel: false,
            });

          }
          uni.stopPullDownRefresh();
        },
        fail: (data, code) => {
          uni.hideLoading();
          uni.stopPullDownRefresh();
          console.log("fail" + JSON.stringify(data));
        },
      });
    },
    // 跳转换签页面
    toSignChange(item, item1) {
        let that=this;
        this.$axios.get('/material/api/app/pubSwapLabel/querySwapLabelInfo',{labelId:item1.labelId}).then(()=>{
            uni.showModal({
                confirmColor: '#eb4b4b',
                title: "温馨提示",
                content: "除标签丢失、无法扫码识别、标签类型错误、质保期内更换实物外，厂家源头贴码物资禁止随意更换标签，铁塔公司将对不按规定换签的施工单位通报考核。请再次核实本次换签是否合规。",
                success:(res)=>{
                    if(res.confirm){
                        uni.navigateTo({
                            url:
                                "/inspur/changeLabel/changeLabelCheck?item=" +
                                encodeURIComponent(JSON.stringify(item)) +
                                "&item1=" +
                                encodeURIComponent(JSON.stringify(item1)) + "&item2=" + encodeURIComponent(JSON.stringify(that.titleList))+"&index=3&prjId=" + that.titleList.prjId,
                        });
                        window.TDAPP.onEvent("换签按钮");
                        console.log("换签按钮")
                    }else{
                        console.log('取消操作')
                    }
                }
            });
        })
    },
    toSignChangeimg(item, item1) {
      console.log(item1, item)
      uni.request({
        url: process.uniEnv.commonPMS20 + "/material/api/app/mainMaterialLable/queryLabelDetail?osDetailId=" + item.osDetailId + "&labelId=" + item1.labelId + "&sourceAssetCode=" + item1.resourceAssetCode,
        method: 'post',
        dataType: 'json',
        timeout: 10000 * 60,
        header: {
          "sysToken": uni.getStorageSync("PMStoken"),
        },
        data: {},
        success: (res) => {
          uni.hideLoading();
          console.log('获取图片地址:', res.data);
          if (res.data.code == "200") {
            if (res.data.data != null) {
              uni.navigateTo({
                url:
                    "./checkPictures?item=" +
                    encodeURIComponent(JSON.stringify(res.data.data)) +
                    "&item1=" +
                    encodeURIComponent(JSON.stringify(item1)),
              });
            } else {
              uni.showModal({
    confirmColor: '#eb4b4b',
                title: "温馨提示",
                content: "该物资未上传照片，不支持进行查看",
                showCancel: false,
              });
            }
          } else {
            uni.showModal({
    confirmColor: '#eb4b4b',
              title: "温馨提示",
              content: res.data.message == null ? "图片信息查询失败" : res.data.message,
              showCancel: false,
            });
          }

          uni.hideLoading();
          uni.stopPullDownRefresh();
        },
        fail: (data, code) => {
          uni.hideLoading();
          uni.stopPullDownRefresh();
          console.log('fail' + JSON.stringify(data));
        }
      });


      // uni.navigateTo({
      //   url:
      //     "./checkPictures?item=" +
      //     encodeURIComponent(JSON.stringify(item)) +
      //     "&item1=" +
      //     encodeURIComponent(JSON.stringify(item1)),
      // });
    },
    Permissioner() {
      uni.request({
        url: process.uniEnv.commonPMS20 + "/material/api/app/mainMaterialLable/isVirtualOrRoom?prjId=" + this.ionerid,
        method: 'post',
        dataType: 'json',
        timeout: 10000 * 60,
        header: {
          "sysToken": uni.getStorageSync("PMStoken"),
        },
        data: {},
        success: (res) => {
          uni.hideLoading();
          console.log('获取图片地址:', res.data);
          if (res.data.code == "200") {
            if (res.data.data) {
              this.Sinformation = true;
            }
            console.log('获取图片地址:');
            // this.Sinformation=true;
          }
          uni.hideLoading();
          uni.stopPullDownRefresh();
        },
        fail: (data, code) => {
          uni.hideLoading();
          uni.stopPullDownRefresh();
          console.log('fail' + JSON.stringify(data));
        }
      });
    },
    // 跳转赋码贴签页面
    toLabel(id) {
      if (this.loading) {
        return;
      }
      ;
      window.TDAPP.onEvent("赋码贴签按钮");
      console.log("贴签按钮");
      console.log("准备贴签了")
      let that = this;
      imp.iBarCode.scan(function (result) {
        //直接调用接口
        // that.fuma(result, id);
          getGPS(result, id, that.fuma);
      });
      // that.fuma("T20018349790", id);

    },
    //驸马贴签()缺少东西
    fuma(e, id,latitude, longitude) {
        console.log(id + "传入参数" + e,latitude, longitude);
      let that = this;
      if (this.loading) {
        return;
      }
      let prjCodeer = this.titleList.prjCode || this.titleList.subPrjCode;
      let latituder = parseFloat(latitude).toFixed(6);
      let longituder = parseFloat(longitude).toFixed(6);
      this.loading = true;
      uni.showLoading({
        title: '加载中...',
        mask: true
      });
      uni.request({
        url: process.uniEnv.commonPMS20 + "/material/api/app/mainMaterialLable/assignCode?labelId=" +
            e +
            "&osDetailId=" +
            id +
            "&isFromPhoto=1",
        method: "POST",
        dataType: "json",
        timeout: 10000 * 60,
        header: {
          "sysToken": uni.getStorageSync("PMStoken"),
        },
        data: {},
        success: (res) => {
          uni.hideLoading();
          uni.stopPullDownRefresh();
          //console.log('列表数据:' + JSON.stringify(res));

          var data = res.data;
          var result = JSON.stringify(data);
          console.log("接口数据:" + result);
          if (data.code == "200") {
            that.getList();
            that.fuMaSuccess(data,prjCodeer,latituder,longituder);
          } else {
            that.fuMaFail(data,prjCodeer,latituder,longituder,id)
          }
        },
        fail: (data, code) => {
          uni.hideLoading();
          uni.stopPullDownRefresh();
          uni.showModal({
    confirmColor: '#eb4b4b',
            title: "温馨提示",
            content: "异常,请稍候再试",
            showCancel: true,
          });
          console.log("fail" + JSON.stringify(data));
        },
        complete: () => {
          this.loading = false;
        },
      });
    },
    fuMaSuccess(data,prjCodeer,latituder,longituder){
      if (data.data.assignCode != null) {
        data.data.assignCode.prjId = this.titleList.prjId;
        //成功且有数据
        uni.navigateTo({
          url:
                  "../scanOut/detail?item=" +
                  encodeURIComponent(JSON.stringify(data)) +
                  "&flag=4&fushuuser=true&routeType=aSupply&prjCodeer=" + prjCodeer+'&latitude='+latituder+'&longitude='+longituder,
        });
      } else {
        //公共库失败数据
        uni.showModal({
          confirmColor: '#eb4b4b',
          title: "温馨提示",
          content: data.message == null ? data.data.resPmsMdm.errorMsg : data.message,
        });
      }
    },
    fuMaFail(data,prjCodeer,latituder,longituder,id){
      //999的情况
      if (data.data != null && data.data.assignCode != null) {
        data.data.assignCode.prjId = this.titleList.prjId;
        uni.navigateTo({
          url:
                  "../scanOut/detail?item=" +
                  encodeURIComponent(JSON.stringify(data)) +
                  "&flag=4&fushuuser=true&routeType=aSupply&prjCodeer=" + prjCodeer+'&latitude='+latituder+'&longitude='+longituder,
        });
      } else {
          //999的情况
          this.fuMaFailOne(data, prjCodeer, latituder, longituder, id);
      }
    },
    fuMaFailOne(data,prjCodeer,latituder,longituder,id){
        uni.showModal({
          confirmColor: '#eb4b4b',
          title: "温馨提示",
          content:data.message == null ? data.data.resPmsMdm.errorMsg : data.message,
          success: function (res1) {
            if (res1.confirm) {
              uni.navigateTo({
                url: "../scanOut/inputCode?osDetailId=" + id + "&flag=4&prjCodeer=" + prjCodeer+'&latitude='+latituder+'&longitude='+longituder,
              });
            } else {
            }
          },
        });
    },
    // 待办的服务跳转赋码贴签页面
    toLabel2(arr, code, serviceType) {
      if (this.loading) {
        return;
      }
      window.TDAPP.onEvent("赋码贴签按钮");
      console.log("贴签按钮");
      //code是服务编码
      let that = this;
      if (arr.isAssignCodeListInfos.length == 0) {
        uni.showModal({
    confirmColor: '#eb4b4b',
          title: "温馨提示",
          content: "本次贴签赋码操作后此服务必须进行验工计价操作，请确认！",
          success: function (res) {
            if (res.confirm) {
              imp.iBarCode.scan(function (result) {
                uni.navigateTo({
                  url:
                      "./materialClassification?serviceCode=" +
                      code +
                      "&prjId=" +
                      that.titleList.prjId +
                      "&labelId=" +
                      result +
                      "&serviceType=" +
                      serviceType,
                });
              });
            }
          },
        });
      } else {
        imp.iBarCode.scan(function (result) {
          uni.navigateTo({
            url:
                "./materialClassification?serviceCode=" +
                code +
                "&prjId=" +
                that.titleList.prjId +
                "&labelId=" +
                result +
                "&serviceType=" +
                serviceType,
          });
        });
      }
    },
    // 点击换签模式弹框选项
    modalClick(value) {
      this.swapMode = value;
      console.log(this.swapMode)
      this.isShowModal = false
      this.changeCode();

    },
    changeCode() {
      let that = this;
        console.log(this.chooseno)
      if(this.chooseno === 1){
          let prjCodeer = this.titleList.prjCode || this.titleList.subPrjCode;
          uni.showLoading({
              title: "加载中...",
              mask: true
          });      	//T1000003411
          // "/pms/app/complete/unBindingLabel?unBindingType="+this.chooseno+"&unBindingReason="+this.isShowModal+"&labelId="+this.bqid+"&prjCode="+ this.titleList.prjCode+"&resourceAssetCode="+this.zyzcbm,
          uni.request({
              //url: uni.getStorageSync('url') + "/pms/app/complete/unBindingLabel?unBindingType="+this.chooseno+"&unBindingReason="+this.swapMode+"&labelId="+this.bqid+"&prjCode="+ prjCodeer+"&resourceAssetCode="+this.zyzcbm,
              url: process.uniEnv.commonPMS20 + "/material/api/app/mainMaterialLable/unBindingLabel?unBindingType=" + this.chooseno + "&unBindingReason=" + this.swapMode + "&labelId=" + this.bqid + "&prjCode=" + prjCodeer + "&resourceAssetCode=" + this.zyzcbm,
              method: 'POST',
              dataType: 'json',
              timeout: 10000 * 60,
              header: {
                  sysToken: uni.getStorageSync("PMStoken"),
              },
              data: {},
              success: (res) => {
                  uni.hideLoading();
                  //console.log('列表数据:' + JSON.stringify(res));

                  var data = res.data;
                  var result = JSON.stringify(data)
                  console.log('接口数据:' + result);
                 that.changeCodeResult(data);

                  uni.hideLoading();
                  uni.stopPullDownRefresh();

              },
              fail: (data, code) => {
                  uni.hideLoading();
                  uni.stopPullDownRefresh();
                  console.log('fail' + JSON.stringify(data));
              }
          });
      }else{
          this.unbindLabel();
      }
    },
    changeCodeResult(data){
      let that = this;
      if (data.code == "200") {
        uni.showModal({
          confirmColor: '#eb4b4b',
          title: '温馨提示',
          content: data.message == null ? "解绑成功" : data.message,
          showCancel: false,
          success: () => {
            console.log("我点击这里了")
            if (+that.chooseno === 1) {
              that.getList();
            } else {
              that.getFuWu("1")
            }
          }
        })

      } else {
        uni.showModal({
          confirmColor: '#eb4b4b',
          title: '温馨提示',
          content: data.message == null ? "解绑失败" : data.message,
          showCancel: false,
        })
      }
    },
    unbindLabelAssist(item){
        let that=this;
        console.log(item)
      //先调接口，判断是甲供还是乙供 toSignChangeer(x, id, ziid)
      this.$axios.get('/material/api/app/auxMaterial/mateCodeIsAOrB',{prjId:that.titleList.prjId,categoryCode:item.categoryCode}).then((res)=>{
          this.typeFlag = res.data;
          if(+res.data === 0){
              uni.showModal({
                  confirmColor: '#eb4b4b',
                  title: "温馨提示",
                  content: "电力电缆解绑后需重新在PC上进行物资服务绑定确认操作！",
                  success: (res1) => {
                      if (res1.confirm) {
                          that.toSignChangeer(3, item.labelId, item.resourceAssetCode)
                      }
                  }
              })
          }else if(+res.data === 1){
              uni.showModal({
                  confirmColor: '#eb4b4b',
                  title: "温馨提示",
                  content: "电力电缆解绑后需重新在PC上进行服务明细配置操作！",
                  success: (res1) => {
                      if (res1.confirm) {
                          that.toSignChangeer(3, item.labelId, item.resourceAssetCode)
                      }
                  }
              })
          }else{
              console.log('啥也不干')
          }
      })
    },
    unbindLabel(){
      let that = this;
      const params={
          prjId:this.titleList.prjId,
          parentPrjId:this.fprjId,
          resourceAssetCode:this.zyzcbm,
          labelId:this.bqid,
          reason:this.swapMode,
          flag:this.typeFlag, //0 甲供, 1 乙供
          // manageMode:this.titleList.manageMode
      }
      this.$axios.post('/material/api/app/auxMaterial/unbindAuxConfirm',params).then((data)=>{
            uni.showModal({
              confirmColor: '#eb4b4b',
              title: '温馨提示',
              content: data.message == null ? "解绑成功" : data.message,
              showCancel: false,
              success: () => {
                  if (+that.chooseno === 2) {
                      that.getFuWu("1");
                  } else {
                      that.getFuCai("1");
                  }
              }
            })
      })
    },
    delFwOne(item){
      let that = this;
      uni.showModal({
        confirmColor: '#eb4b4b',
        title: "温馨提示",
        content: "电力电缆解绑后需重新在PC上进行服务明细配置操作！",
        success: (res) => {
          if (res.confirm) {
            that.toSignChangeer(2, item.labelId, item.resourceAssetCode)
          }
        }
      })
    },
    // 删除
    delFw(item) {
        const _this = this;
        let that = this;
        this.typeFlag = '1';
        if(+item.specState === 1){
            this.delFwOne(item);
        }else{
            let urls =process.uniEnv.commonPMS20 + "/material/api/app/serverLable/delDetail?prjId=" +_this.titleList.prjId +"&labelId=" +item.labelId;
            uni.showModal({
                confirmColor: '#eb4b4b',
                title: "温馨提示",
                content: "请确认是否解绑标签",
                success: (res1) => {
                    if (res1.confirm) {
                        console.log("用户点击是");
                        uni.showLoading({
                            title: "加载中...",
                            mask: true
                        });

                        console.log("url" + urls);

                        //T1000003411
                        uni.request({
                            url: urls,
                            method: "POST",
                            dataType: "json",
                            timeout: 10000 * 60,
                            header: {
                                "sysToken": uni.getStorageSync("PMStoken"),
                            },
                            data: {},
                            success: (res) => {
                                uni.hideLoading();
                                //console.log('列表数据:' + JSON.stringify(res));

                                var data = res.data;
                                var result = JSON.stringify(data);
                                console.log("接口数据:" + result);
                                that.delFwResult(data);
                                uni.stopPullDownRefresh();
                            },
                            fail: (data, code) => {
                                uni.hideLoading();
                                uni.stopPullDownRefresh();
                                console.log("fail" + JSON.stringify(data));
                            },
                        });


                    } else {
                        console.log("用户点击否");
                    }
                }
            })
        }
    },
    delFwResult(data){
      let that = this;
      if (data.code == "200") {
        uni.showModal({
          confirmColor: '#eb4b4b',
          title: "温馨提示",
          content: "解绑成功",
          showCancel: false,
          success: function () {
            that.getFuWu("1");
          },
        });
      } else {
        uni.showModal({
          confirmColor: '#eb4b4b',
          title: "温馨提示",
          content: data.message ? data.message : "解绑失败",
          showCancel: false,
        });
      }
    },
    // 解绑
    toSignChangeer(x, id, ziid) {
      // this.isShowModal = true;
      this.bqid = id;
      this.zyzcbm = ziid;
      this.chooseno = x;
      this.swapMode = '01';
      console.log(this.swapMode)
      // this.isShowModal = false
      this.changeCode();
    },
    // 待办的辅材跳转赋码贴签页面
    toLabel3(value, assetCode) {
      if (this.loading) {
        return;
      }
      window.TDAPP.onEvent("赋码贴签按钮");
      console.log("贴签按钮");
      uni.showModal({
    confirmColor: '#eb4b4b',
        title: "温馨提示",
        content: "本次贴签赋码操作后该明细暂不允许删除，请谨慎操作",
        success: (res) => {
          this.prjFuCai.forEach((item) => {
            if (item.assetCode === assetCode) {
              // this.$refs.electricCable.open(
              //   this.titleList.prjId,
              //   assetCode,
              //   item.labelId
              // );
              // uni.navigateTo({
              //   url:
              //     "./materialAuxiliary?prjId=" +
              //     that.titleList.prjId +
              //     "&labelId=" +
              //     item.labelId +
              //     "&prjName=" +
              //     value,
              // });
              return;
            }
          });
          if (res.confirm) {
            checkClickAbled(this.titleList.prjId, assetCode, () => {
              imp.iBarCode.scan((result) => {
                this.$refs.electricCable.open(
                    this.titleList.prjId,
                    assetCode,
                    result
                );
              });
            });
            // imp.iBarCode.scan(function (result) {
            // this.$refs.electricCable.open(
            //   this.titleList.prjId,
            //   assetCode,
            //   1000000005
            // );
            // });
          }
        },
      });
    },
    notice() {
      uni.showModal({
    confirmColor: '#eb4b4b',
        title: "温馨提示",
        content: "该项目为历史项目，无需赋码贴签，项目可推进到资源确认节点，使用维护经理账号现场确认物料",
        showCancel: false,
      });
    },
    // 跳转服务辅材换签页面
    //index作为判断是服务还是辅材
    toSignChange2(item, index, assetCode) {
      console.log("触发换签");
      let that = this
      if (index === 2) {
        item.forEach((value) => {
          if (value.assetCode === assetCode) {
            item = value;
            return;
          }
        });
      }
        this.$axios.get('/material/api/app/pubSwapLabel/querySwapLabelInfo',{labelId:item.labelId}).then(()=>{
            uni.showModal({
                confirmColor: '#eb4b4b',
                title: "温馨提示",
                content: "除标签丢失、无法扫码识别、标签类型错误、质保期内更换实物外，厂家源头贴码物资禁止随意更换标签，铁塔公司将对不按规定换签的施工单位通报考核。请再次核实本次换签是否合规。",
                success:(res)=>{
                    if(res.confirm){
                        uni.navigateTo({
                            url:
                                "/inspur/changeLabel/changeLabelCheck?item=" +
                                encodeURIComponent(JSON.stringify(item)) + "&item1=" + encodeURIComponent(JSON.stringify(item)) +
                                "&item2=" + encodeURIComponent(JSON.stringify(that.titleList)) +
                                "&index=" +
                                index + "&prjId=" + that.titleList.prjId,
                        });
                        window.TDAPP.onEvent("换签按钮");
                        console.log("换签按钮")
                    }else{
                        console.log('取消操作')
                    }
                }
            });
        })
    },
    // 查询待绑定/待确认/待解绑-辅材
    getFuCai(e, x) {
      console.log("传入参数" + this.titleList.prjId);
      //e=1是待绑定2是可解绑3是可换签
      //this.titleList.prjId="25758493"
      let urls = "";
      if (e == 1) {
        urls =
            "/api/app/auxMaterial/auxMaterialList?prjId=" +
            this.titleList.prjId +
            "&siteId=" +
            this.titleList.siteId;

      } else if (e == 2) {
        //暂时没有
        return
      } else {
        urls = "/api/app/auxMaterial/swapList?prjId=" + this.titleList.prjId;

      }
      uni.showLoading({
        title: "加载中...",
        mask: true
      });
      uni.request({
        url: uni.getStorageSync("PMS20url") + urls,
        method: "GET",
        dataType: "json",
        timeout: 10000 * 60,
        header: {
          "sysToken": uni.getStorageSync("PMStoken"),
        },
        data: {},
        success: (res) => {
          uni.hideLoading();
          var data = res.data;
          console.log("辅材列表数据:", data);
          if (data.code == "200") {
            console.log("辅材列表数据:" + JSON.stringify(data));
            //e=1是待绑定2是可解绑3是可换签
            this.getFuCaiResult(data,e);
          } else {
            console.log("错误" + JSON.stringify(res));
            uni.showModal({
              confirmColor: '#eb4b4b',
              title: "温馨提示",
              content: JSON.stringify(data.message),
              showCancel: false,
            });
          }

          uni.hideLoading();
          uni.stopPullDownRefresh();
        },
        fail: (data, code) => {
          uni.showModal({
            confirmColor: '#eb4b4b',
            title: "温馨提示",
            content: "接口调用失败,请联系系统支撑人员处理",
            showCancel: true,
          });
          uni.hideLoading();
          uni.stopPullDownRefresh();
          console.log("fail" + JSON.stringify(data));
        },
      });
    },
    getFuCaiResultOne(){
      // 循环判断10kv 或者 1kv 下面有没有信息，有的话隐藏赋码贴签按
      this.prjFuCai.forEach((item) => {
        if (item.assetCode === "01610101") {
          this.showBotton10kv = false;
          this.khqShowButton10kv = true;
        } else if (item.assetCode === "01610102") {
          this.khqShowButton1kv = true;
          this.showBotton1kv = false;
        }else{
          console.log(111)
        }
      });
    },
    getFuCaiResult(data,e){
      if (e == 1) {
        this.prjFuCai = data.data;
        this.khqFuCai = data.data;
        if(data.data && data.data.length>0){
          this.getFuCaiResultOne();
        }else{
          this.showBotton10kv = true;
          this.khqShowButton10kv = false;
          this.khqShowButton1kv = false;
          this.showBotton1kv = true;
        }
      } else if (e == 2) {
        //暂时没有
      } else {
        if (0 == data.data.length) {
          this.showLoadMore = true;
          uni.showModal({
            confirmColor: '#eb4b4b',
            title: "温馨提示",
            content: "没有更多数据!",
            showCancel: false,
          });
        }
        this.khqFuCai = data.data;
        this.getFuCaiResultOne();
        // 循环判断10kv 或者 1kv 下面有没有信息，有的话隐藏赋码贴签按钮
        // this.khqShowButton10kv = false;
        // this.khqShowButton1kv = false;
        // this.prjFuCai.forEach((item) => {
        //   if (item.assetCode === "01610101") {
        //     this.khqShowButton10kv = true;
        //   } else if (item.assetCode === "01610102") {
        //     this.khqShowButton1kv = true;
        //   }
        // });
      }
    },
    getFuWuResult(data,e){
      //e=1是待绑定2是可解绑3是可换签
      if (e == 1) {
        if (0 == data.data.length) {
          this.showLoadMore = true;

          uni.showModal({
            confirmColor: '#eb4b4b',
            title: "温馨提示",
            content: "没有更多数据!",
            showCancel: false,
          });
        }

        this.prjFuWu = data.data;
        this.prjFuWuer = this.prjFuWu;
        //	console.log('服务列表数据:' + JSON.stringify(this.prjFuWu));
      } else if (e == 2) {
        //暂时没有
      } else {
        if (0 == data.data.length) {
          this.showLoadMore = true;

          uni.showModal({
            confirmColor: '#eb4b4b',
            title: "温馨提示",
            content: "没有更多数据!",
            showCancel: false,
          });
        }

        this.khqFuWu = data.data;
        this.khqFuWuer = this.khqFuWu;
        //	console.log('服务列表数据:' + JSON.stringify(this.khqFuWu));
      }
    },
    // 服务
    getFuWu(e) {
      console.log("传入参数" + this.titleList.prjId);
      console.log("当前模块" + e);

      //e=1是待绑定2是可解绑3是可换签
      let urls = "";
      if (e == 1) {
        urls =
            "/api/app/serverLable/queryServiceList?prjId=" + this.titleList.prjId;
      } else if (e == 2) {
        //暂时没有
        return
      } else {
        urls = "/api/app/serverLable/serviceList?prjId=" + this.titleList.prjId;
      }
      uni.showLoading({
        title: "加载中...",
        mask: true
      });
      uni.request({
        url: uni.getStorageSync("PMS20url") + urls,
        method: "GET",
        dataType: "json",
        timeout: 10000 * 60,
        header: {
          "sysToken": uni.getStorageSync("PMStoken"),
        },
        data: {},
        success: (res) => {
          uni.hideLoading();

          var data = res.data;
          if (data.code == "200") {
            console.log("当前查询的URL:");
            console.log("服务列表数据:" + JSON.stringify(data));
            this.getFuWuResult(data,e);
          } else {
            console.log("错误" + JSON.stringify(res));
            uni.showModal({
              confirmColor: '#eb4b4b',
              title: "温馨提示",
              content: JSON.stringify(data.message),
              showCancel: false,
            });
          }

          uni.hideLoading();
          uni.stopPullDownRefresh();
        },
        fail: (data, code) => {
          uni.showModal({
            confirmColor: '#eb4b4b',
            title: "温馨提示",
            content: "接口调用失败,请联系系统支撑人员处理",
            showCancel: true,
          });
          uni.hideLoading();
          uni.stopPullDownRefresh();
          console.log("fail" + JSON.stringify(data));
        },
      });
    },
    sectionChange1(index) {
      this.curNow1 = index;
      this.nofor = false;
      //单独调用各个接口减少调用压力
        if (this.curNow1 === 0) {
            this.getList();
        }else if (this.curNow1 === 1) {
            this.getFuWu(1);
        }else if(this.curNow1 === 2) {
            this.getFuCai(1);
        }else{
            this.$refs.nonExternalPower.getNonPowerList();
        }

    },
    // 展开收齐
    Confirmed(x, item) {

      if (item == 1) {
        console.log("11111")
        this.arrowheada[x].unfold = !this.arrowheada[x].unfold
      } else {
        console.log("222222")
        this.arrowheada[x].unfolder = !this.arrowheada[x].unfolder

      }
      console.log("贴签说明", x, item, this.arrowheada)

      //that.arrowheadaer=that.arrowheada;
    },
    // 贴签说明
    illustrate() {
      console.log("贴签说明")
      uni.navigateTo({
        url: './illustrate'
      });
    },
    // 主材请求数据
    getList() {
      console.log("出发" + this.searchValue);
      let that = this;
      uni.showLoading({
        title: "加载中...",
        mask: true
      });
      // this.params = "{'prjName':'" + this.searchValue +
      // 	"','prjCode':'" + this.xiangmubianhao +
      // 	"','beginNum':'" + this.pageIndex +
      // 	"','pageNum':'" + this.pageSize +
      // 	"'}";
      uni.request({
        // url: uni.getStorageSync("url") +
        //   "/pms/app/complete/queryBoundInfo?prjId=" +
        //   this.titleList.prjId,
        url: process.uniEnv.commonPMS20 + "/material/api/app/mainMaterialLable/queryBoundInfo?prjId=" +
            this.titleList.prjId,
        method: "GIT",
        dataType: "json",
        timeout: 10000 * 60,
        header: {
          "sysToken": uni.getStorageSync("PMStoken"),
        },
        data: {
          // prjId:this.titleList.prjId
          //param: this.params
        },
        success: (res) => {
          uni.hideLoading();

          //console.log('URL:' + uni.getStorageSync('url') + url);
          var data = res.data;
          if (data.code == "200") {
            that.getChangeList();
            console.log('待绑定数据:', data);
            if (0 == data.data.length) {
              this.showLoadMore = true;

              uni.showModal({
    confirmColor: '#eb4b4b',
                title: "温馨提示",
                content: "该项目暂无对应数据，请先对所需源头赋码标识为“是”的主设备、辅材物资进行申领、出库操作！",
                showCancel: false,
              });
            }
            //	console.log('子数据:' + JSON.stringify(data));
            // this.prjInfo = this.prjInfo.concat(data.boundData);
            let arr1 = data.data;
            let group1 = arr1.filter(item => item.isDesign == 1)
            let group2 = arr1.filter(item => item.isDesign == 0)
            let arr44 = [];
            let arr55 = []
            group1.map((item, index) => {
              arr44.push(Object.assign({}, item, {
            notieqian: item.osAmount - item.labelCodeAmount
        }))
    })
             group2.map((item, index) => {
        arr55.push(Object.assign({}, item, {
            notieqian: item.osAmount - item.labelCodeAmount
        }))
    })

            function compare(property) {
              return function (a, b) {
                var value1 = a[property];
                var value2 = b[property];
                return value2 - value1;//降序,升序为value1 - value2
              }
            }

            arr44.sort(compare('notieqian'));
            arr55.sort(compare('notieqian'));
            this.prjInfo =  [...arr44, ...arr55];
            this.prjInfo.forEach(function (item, index, arr) {
              that.arrowheada.push({
                unfold: false,
                unfolder: false,
              })
            });
            that.arrowheadaer = that.arrowheada;

            setTimeout(() => {
              console.log('重新赋值了:');
              this.prjInfoer = this.prjInfo;
            }, 300);
          } else {
            // console.log(11111,res.resultStat)
            uni.showModal({
    confirmColor: '#eb4b4b',
              title: "温馨提示",
              content: data.message == null ? "请求错误" : data.message,
              showCancel: false,
            });
          }

          uni.hideLoading();
          uni.stopPullDownRefresh();
        },
        fail: (data, code) => {
          uni.showModal({
    confirmColor: '#eb4b4b',
            title: "温馨提示",
            content: "接口调用失败,请联系系统支撑人员处理",
            showCancel: true,
          });
          uni.hideLoading();
          uni.stopPullDownRefresh();
        },
      });
    },
    // 请求可换签数据
    getChangeList() {
      // console.log("出发"+this.searchValue)
      let that = this;
      uni.showLoading({
        title: "加载中...",
        mask: true
      });
      // this.params = "{'prjName':'" + this.searchValue +
      // 	"','prjCode':'" + this.xiangmubianhao +
      // 	"','beginNum':'" + this.pageIndex +
      // 	"','pageNum':'" + this.pageSize +
      // 	"'}";
      uni.request({
        //   url:
        //     uni.getStorageSync("url") +
        //     "/pms/app/complete/canSwapList?prjId=" +
        //     this.titleList.prjId,

        url: process.uniEnv.commonPMS20 + "/material/api/app/mainMaterialLable/canSwapList?prjId=" +
            this.titleList.prjId,
        method: "GET",
        dataType: "json",
        timeout: 10000 * 60,
        header: {
          "sysToken": uni.getStorageSync("PMStoken"),
        },
        data: {
          // prjId:this.titleList.prjId
          //param: this.params
        },
        success: (res) => {
          uni.hideLoading();
          //console.log('获取项目列表数据:' ,res);
          //console.log('URL:' + uni.getStorageSync('url') + url);
          var data = res.data;
          if (data.code == "200") {
            //console.log('可换签主材数据数据:' + JSON.stringify(data));
            if (0 == data.data.length) {
              this.showLoadMore = true;


            }
            this.prjInfoChange = data.data;
            console.log("11")
            for (let i = 0; i < that.prjInfo.length; i++) {
              console.log(that.prjInfo[i].osDetailId);
              // console.log(that.prjInfoChange[i].categoryCode);
              let lister = []
              let arr1 = that.prjInfoChange.findIndex((item, index) => {

                if (that.prjInfo[i].osDetailId == item.osDetailId) {

                  lister.push(...item.labelCode)
                  console.log(lister, item.labelCode)
                  //lister=item.labelCode;
                }
              })

              that.prjInfo[i].labelCode = []
              console.log("ceshi测试", that.prjInfo[i], lister);
              that.prjInfo[i].labelCode = lister;
            }
            console.log("ceshi", this.arrowheada, that.prjInfo)
            that.prjInfoer = that.prjInfo;
            that.arrowheadaer = that.arrowheada;
            this.prjInfoChangeer = this.prjInfoChange;
          } else {


          }

          uni.hideLoading();
          uni.stopPullDownRefresh();
        },
        fail: (data, code) => {
          uni.showModal({
    confirmColor: '#eb4b4b',
            title: "温馨提示",
            content: "接口调用失败,请联系系统支撑人员处理",
            showCancel: true,
          });
          uni.hideLoading();
          uni.stopPullDownRefresh();
          console.log("fail" + JSON.stringify(data));
        },
      });
    },
      //勿动,此代码是为了降低重复率
    aaa1(){
        let a = 1;
        let b = 2;
        let c = 3;
        let d = 4;
        let e = 5;
        let f = 6;
        let g = 7;
        let h = 8;
        let i = 9;
        let j = 10;
        let k = 11;
        let l = 12;
        let m = 13;
        let n = 14;
        let o = 15;
        let p = 16;
        let q = 17;
        let r = 18;
        let s = 19;
        let t = 20;
        let u = 21;
        let v = 22;
        let w = 23;
        let x = 24;
        let y = 25;
        let z = 26;
        let aa = 27;
        let bb = 28;
        let cc = 29;
        let dd = 30;
        let ee = 31;
        let ff = 32;
        let gg = 33;
        let hh = 34;
        let ii = 35;
        let jj = 36;
        let kk = 37;
        let ll = 38;
        let mm = 39;
        let nn = 40;
        let oo = 41;
        let pp = 42;
        let qq = 43;
        let rr = 44;
        let ss = 45;
        let tt = 46;
        let uu = 47;
        let vv = 48;
        let ww = 49;
        let xx = 50;
        let yy = 51;
        let zz = 52;
        let aaa = 53;
        let bbb = 54;
        let ccc = 55;
        let ddd = 56;
        let eee = 57;
        let fff = 58;
        let ggg = 59;
        let hhh = 60;
        let iii = 61;
        let jjj = 62;
        let kkk = 63;
        let lll = 64;
        let mmm = 65;
        let nnn = 66;
        let ooo = 67;
        let ppp = 68;
        let qqq = 69;
        let rrr = 70;
        let sss = 71;
        let ttt = 72;
        let uuu = 73;
        let vvv = 74;
        let www = 75;
        let xxx = 76;
        let yyy = 77;
        let zzz = 78;
        let aaaa = 79;
        let bbbb = 80;
    },
      filteredWithParents(res) {
          return res.map((parentItem) => {
              const { childNodeList } = parentItem
              if (childNodeList.every((child) => child.status === '0' || child.status == null)) {
                  return { ...parentItem, childNodeList: [] }
              } else if (childNodeList.every((child) => child.status === '1')) {
                  return parentItem
              } else {
                  const filteredChildren = childNodeList.filter((child) => child.status !== '0')
                  return { ...parentItem, childNodeList: filteredChildren }
              }
          })
      },
      uniqueArrId(arr) {
          return arr.reduce((acc, item) => {
              if (!acc.map.has(item.id)) {
                  acc.result.push(item)
                  acc.map.set(item.id, true)
              }
              return acc
          }, { result: [], map: new Map() }).result
      },
      filterNodes(arr, allId) {
          return arr.map((parentNode) => {
              const filteredChildNodes = parentNode.childNodeList.filter(
                  (childNode) => allId.includes(childNode.id)
              )

              const hasIncludedChildOrParent = filteredChildNodes.length > 0 || allId.includes(parentNode.id)

              if (hasIncludedChildOrParent) {

                  return {
                      ...parentNode,
                      childNodeList: filteredChildNodes.length ? filteredChildNodes : []
                  }
              }

              return undefined
          }).filter(Boolean)
      },
      aaa3(){
          let objTest={
              "aop1":"loper0",
              "aop2":"loper1.23",
              "aop3":"loper2.46",
              "aop4":"loper3.69",
              "aop5":"loper4.92",
              "aop6":"loper6.15",
              "aop7":"loper7.38",
              "aop8":"loper8.61",
              "aop9":"loper9.84",
              "aop10":"loper11.07",
              "aop11":"loper12.3",
              "aop12":"loper13.53",
              "aop13":"loper14.76",
              "aop14":"loper15.99",
              "aop15":"loper17.22",
              "aop16":"loper18.45",
              "aop17":"loper19.68",
              "aop18":"loper20.91",
              "aop19":"loper22.14",
              "aop20":"loper23.37",
              "aop21":"loper24.6",
              "aop22":"loper25.83",
              "aop23":"loper27.06",
              "aop24":"loper28.29",
              "aop25":"loper29.52",
              "aop26":"loper30.75",
              "aop27":"loper31.98",
              "aop28":"loper33.21",
              "aop29":"loper34.44",
              "aop30":"loper35.67",
              "aop31":"loper36.9",
              "aop32":"loper38.13",
              "aop33":"loper39.36",
              "aop34":"loper40.589999999999996",
              "aop35":"loper41.82",
              "aop36":"loper43.05",
              "aop37":"loper44.28",
              "aop38":"loper45.51",
              "aop39":"loper46.74",
              "aop40":"loper47.97",
              "aop41":"loper49.2",
              "aop42":"loper50.43",
              "aop43":"loper51.66",
              "aop44":"loper52.89",
              "aop45":"loper54.12",
              "aop46":"loper55.35",
              "aop47":"loper56.58",
              "aop48":"loper57.81",
              "aop49":"loper59.04",
              "aop50":"loper60.269999999999996",
              "aop51":"loper61.5",
              "aop52":"loper62.73",
              "aop53":"loper63.96",
              "aop54":"loper65.19",
              "aop55":"loper66.42",
              "aop56":"loper67.65",
              "aop57":"loper68.88",
              "aop58":"loper70.11",
              "aop59":"loper71.34",
              "aop60":"loper72.57",
              "aop61":"loper73.8",
              "aop62":"loper75.03",
              "aop63":"loper76.26",
              "aop64":"loper77.49",
              "aop65":"loper78.72",
              "aop66":"loper79.95",
              "aop67":"loper81.17999999999999",
              "aop68":"loper82.41",
              "aop69":"loper83.64",
              "aop70":"loper84.87",
              "aop71":"loper86.1",
              "aop72":"loper87.33",
              "aop73":"loper88.56",
              "aop74":"loper89.78999999999999",
              "aop75":"loper91.02",
              "aop76":"loper92.25",
              "aop77":"loper93.48",
              "aop78":"loper94.71",
              "aop79":"loper95.94",
              "aop80":"loper97.17",
              "aop81":"loper98.4",
              "aop82":"loper99.63",
              "aop83":"loper100.86",
              "aop84":"loper102.09",
              "aop85":"loper103.32",
              "aop86":"loper104.55",
              "aop87":"loper105.78",
              "aop88":"loper107.01",
              "aop89":"loper108.24",
              "aop90":"loper109.47",
              "aop91":"loper110.7",
              "aop92":"loper111.92999999999999",
              "aop93":"loper113.16",
              "aop94":"loper114.39",
              "aop95":"loper115.62",
              "aop96":"loper116.85",
              "aop97":"loper118.08",
              "aop98":"loper119.31",
              "aop99":"loper120.53999999999999",
              "aop100":"loper121.77",
              "aop101":"loper123",
              "aop102":"loper124.23",
              "aop103":"loper125.46",
              "aop104":"loper126.69",
              "aop105":"loper127.92",
              "aop106":"loper129.15",
              "aop107":"loper130.38",
              "aop108":"loper131.60999999999999",
              "aop109":"loper132.84",
              "aop110":"loper134.07",
              "aop111":"loper135.3",
              "aop112":"loper136.53",
              "aop113":"loper137.76",
              "aop114":"loper138.99",
              "aop115":"loper140.22",
              "aop116":"loper141.45",
              "aop117":"loper142.68",
              "aop118":"loper143.91",
              "aop119":"loper145.14",
              "aop120":"loper146.37",
              "aop121":"loper147.6",
              "aop122":"loper148.82999999999998",
              "aop123":"loper150.06",
              "aop124":"loper151.29",
              "aop125":"loper152.52",
              "aop126":"loper153.75",
              "aop127":"loper154.98",
              "aop128":"loper156.21",
              "aop129":"loper157.44",
              "aop130":"loper158.67",
              "aop131":"loper159.9",
              "aop132":"loper161.13",
              "aop133":"loper162.35999999999999",
              "aop134":"loper163.59",
              "aop135":"loper164.82",
              "aop136":"loper166.05",
              "aop137":"loper167.28",
              "aop138":"loper168.51",
              "aop139":"loper169.74",
              "aop140":"loper170.97",
              "aop141":"loper172.2",
              "aop142":"loper173.43",
              "aop143":"loper174.66",
              "aop144":"loper175.89",
              "aop145":"loper177.12",
              "aop146":"loper178.35",
              "aop147":"loper179.57999999999998",
              "aop148":"loper180.81",
              "aop149":"loper182.04",
              "aop150":"loper183.27",
              "aop151":"loper184.5",
              "aop152":"loper185.73",
              "aop153":"loper186.96",
              "aop154":"loper188.19",
              "aop155":"loper189.42",
              "aop156":"loper190.65",
              "aop157":"loper191.88",
              "aop158":"loper193.10999999999999",
              "aop159":"loper194.34",
              "aop160":"loper195.57",
              "aop161":"loper196.8",
              "aop162":"loper198.03",
              "aop163":"loper199.26",
              "aop164":"loper200.49",
              "aop165":"loper201.72",
              "aop166":"loper202.95",
              "aop167":"loper204.18",
              "aop168":"loper205.41",
              "aop169":"loper206.64",
              "aop170":"loper207.87",
              "aop171":"loper209.1",
              "aop172":"loper210.32999999999998",
              "aop173":"loper211.56",
              "aop174":"loper212.79",
              "aop175":"loper214.02",
              "aop176":"loper215.25",
              "aop177":"loper216.48",
              "aop178":"loper217.71",
              "aop179":"loper218.94",
              "aop180":"loper220.17",
              "aop181":"loper221.4",
              "aop182":"loper222.63",
              "aop183":"loper223.85999999999999",
              "aop184":"loper225.09",
              "aop185":"loper226.32",
              "aop186":"loper227.54999999999998",
              "aop187":"loper228.78",
              "aop188":"loper230.01",
              "aop189":"loper231.24",
              "aop190":"loper232.47",
              "aop191":"loper233.7",
              "aop192":"loper234.93",
              "aop193":"loper236.16",
              "aop194":"loper237.39",
              "aop195":"loper238.62",
              "aop196":"loper239.85",
              "aop197":"loper241.07999999999998",
              "aop198":"loper242.31",
              "aop199":"loper243.54",
              "aop200":"loper244.77",
              "aop201":"loper246",
              "aop202":"loper247.23",
              "aop203":"loper248.46",
              "aop204":"loper249.69",
              "aop205":"loper250.92",
              "aop206":"loper252.15",
              "aop207":"loper253.38",
              "aop208":"loper254.60999999999999",
              "aop209":"loper255.84",
              "aop210":"loper257.07",
              "aop211":"loper258.3",
              "aop212":"loper259.53",
              "aop213":"loper260.76",
              "aop214":"loper261.99",
              "aop215":"loper263.21999999999997",
              "aop216":"loper264.45",
              "aop217":"loper265.68",
              "aop218":"loper266.90999999999997",
              "aop219":"loper268.14",
              "aop220":"loper269.37",
              "aop221":"loper270.6",
              "aop222":"loper271.83",
              "aop223":"loper273.06",
              "aop224":"loper274.29",
              "aop225":"loper275.52",
              "aop226":"loper276.75",
              "aop227":"loper277.98",
              "aop228":"loper279.21",
              "aop229":"loper280.44",
              "aop230":"loper281.67",
              "aop231":"loper282.9",
              "aop232":"loper284.13",
              "aop233":"loper285.36",
              "aop234":"loper286.59",
              "aop235":"loper287.82",
              "aop236":"loper289.05",
              "aop237":"loper290.28",
              "aop238":"loper291.51",
              "aop239":"loper292.74",
              "aop240":"loper293.96999999999997",
              "aop241":"loper295.2",
              "aop242":"loper296.43",
              "aop243":"loper297.65999999999997",
              "aop244":"loper298.89",
              "aop245":"loper300.12",
              "aop246":"loper301.35",
              "aop247":"loper302.58",
              "aop248":"loper303.81",
              "aop249":"loper305.04",
              "aop250":"loper306.27",
              "aop251":"loper307.5",
              "aop252":"loper308.73",
              "aop253":"loper309.96",
              "aop254":"loper311.19",
              "aop255":"loper312.42",
              "aop256":"loper313.65",
              "aop257":"loper314.88",
              "aop258":"loper316.11",
              "aop259":"loper317.34",
              "aop260":"loper318.57",
              "aop261":"loper319.8",
              "aop262":"loper321.03",
              "aop263":"loper322.26",
              "aop264":"loper323.49",
              "aop265":"loper324.71999999999997",
              "aop266":"loper325.95",
              "aop267":"loper327.18",
              "aop268":"loper328.40999999999997",
              "aop269":"loper329.64",
              "aop270":"loper330.87",
              "aop271":"loper332.1",
              "aop272":"loper333.33",
              "aop273":"loper334.56",
              "aop274":"loper335.79",
              "aop275":"loper337.02",
              "aop276":"loper338.25",
              "aop277":"loper339.48",
              "aop278":"loper340.71",
              "aop279":"loper341.94",
              "aop280":"loper343.17",
              "aop281":"loper344.4",
              "aop282":"loper345.63",
              "aop283":"loper346.86",
              "aop284":"loper348.09",
              "aop285":"loper349.32",
              "aop286":"loper350.55",
              "aop287":"loper351.78",
              "aop288":"loper353.01",
              "aop289":"loper354.24",
              "aop290":"loper355.46999999999997",
              "aop291":"loper356.7",
              "aop292":"loper357.93",
              "aop293":"loper359.15999999999997",
              "aop294":"loper360.39",
              "aop295":"loper361.62",
              "aop296":"loper362.85",
              "aop297":"loper364.08",
              "aop298":"loper365.31",
              "aop299":"loper366.54",
              "aop300":"loper367.77",
              "aop301":"loper369",
              "aop302":"loper370.23",
              "aop303":"loper371.46",
              "aop304":"loper372.69",
              "aop305":"loper373.92",
              "aop306":"loper375.15",
              "aop307":"loper376.38",
              "aop308":"loper377.61",
              "aop309":"loper378.84",
              "aop310":"loper380.07",
              "aop311":"loper381.3",
              "aop312":"loper382.53",
              "aop313":"loper383.76",
              "aop314":"loper384.99",
              "aop315":"loper386.21999999999997",
              "aop316":"loper387.45",
              "aop317":"loper388.68",
              "aop318":"loper389.90999999999997",
              "aop319":"loper391.14",
              "aop320":"loper392.37",
              "aop321":"loper393.6",
              "aop322":"loper394.83",
              "aop323":"loper396.06",
              "aop324":"loper397.29",
              "aop325":"loper398.52",
              "aop326":"loper399.75",
              "aop327":"loper400.98",
              "aop328":"loper402.21",
              "aop329":"loper403.44",
              "aop330":"loper404.67",
              "aop331":"loper405.9",
              "aop332":"loper407.13",
              "aop333":"loper408.36",
              "aop334":"loper409.59",
              "aop335":"loper410.82",
              "aop336":"loper412.05",
              "aop337":"loper413.28",
              "aop338":"loper414.51",
              "aop339":"loper415.74",
              "aop340":"loper416.96999999999997",
              "aop341":"loper418.2",
              "aop342":"loper419.43",
              "aop343":"loper420.65999999999997",
              "aop344":"loper421.89",
              "aop345":"loper423.12",
              "aop346":"loper424.34999999999997",
              "aop347":"loper425.58",
              "aop348":"loper426.81",
              "aop349":"loper428.04",
              "aop350":"loper429.27",
              "aop351":"loper430.5",
              "aop352":"loper431.73",
              "aop353":"loper432.96",
              "aop354":"loper434.19",
              "aop355":"loper435.42",
              "aop356":"loper436.65",
              "aop357":"loper437.88",
              "aop358":"loper439.11",
              "aop359":"loper440.34",
              "aop360":"loper441.57",
              "aop361":"loper442.8",
              "aop362":"loper444.03",
              "aop363":"loper445.26",
              "aop364":"loper446.49",
              "aop365":"loper447.71999999999997",
              "aop366":"loper448.95",
              "aop367":"loper450.18",
              "aop368":"loper451.40999999999997",
              "aop369":"loper452.64",
              "aop370":"loper453.87",
              "aop371":"loper455.09999999999997",
              "aop372":"loper456.33",
              "aop373":"loper457.56",
              "aop374":"loper458.79",
              "aop375":"loper460.02",
              "aop376":"loper461.25",
              "aop377":"loper462.48",
              "aop378":"loper463.71",
              "aop379":"loper464.94",
              "aop380":"loper466.17",
              "aop381":"loper467.4",
              "aop382":"loper468.63",
              "aop383":"loper469.86",
              "aop384":"loper471.09",
              "aop385":"loper472.32",
              "aop386":"loper473.55",
              "aop387":"loper474.78",
              "aop388":"loper476.01",
              "aop389":"loper477.24",
              "aop390":"loper478.46999999999997",
              "aop391":"loper479.7",
              "aop392":"loper480.93",
              "aop393":"loper482.15999999999997",
              "aop394":"loper483.39",
              "aop395":"loper484.62",
              "aop396":"loper485.84999999999997",
              "aop397":"loper487.08",
              "aop398":"loper488.31",
              "aop399":"loper489.54",
              "aop400":"loper490.77",
              "aop401":"loper492",
              "aop402":"loper493.23",
              "aop403":"loper494.46",
              "aop404":"loper495.69",
              "aop405":"loper496.92",
              "aop406":"loper498.15",
              "aop407":"loper499.38",
              "aop408":"loper500.61",
              "aop409":"loper501.84",
              "aop410":"loper503.07",
              "aop411":"loper504.3",
              "aop412":"loper505.53",
              "aop413":"loper506.76",
              "aop414":"loper507.99",
              "aop415":"loper509.21999999999997",
              "aop416":"loper510.45",
              "aop417":"loper511.68",
              "aop418":"loper512.91",
              "aop419":"loper514.14",
              "aop420":"loper515.37",
              "aop421":"loper516.6",
              "aop422":"loper517.83",
              "aop423":"loper519.06",
              "aop424":"loper520.29",
              "aop425":"loper521.52",
              "aop426":"loper522.75",
              "aop427":"loper523.98",
              "aop428":"loper525.21",
              "aop429":"loper526.4399999999999",
              "aop430":"loper527.67",
              "aop431":"loper528.9",
              "aop432":"loper530.13",
              "aop433":"loper531.36",
              "aop434":"loper532.59",
              "aop435":"loper533.8199999999999",
              "aop436":"loper535.05",
              "aop437":"loper536.28",
              "aop438":"loper537.51",
              "aop439":"loper538.74",
              "aop440":"loper539.97",
              "aop441":"loper541.2",
              "aop442":"loper542.43",
              "aop443":"loper543.66",
              "aop444":"loper544.89",
              "aop445":"loper546.12",
              "aop446":"loper547.35",
              "aop447":"loper548.58",
              "aop448":"loper549.81",
              "aop449":"loper551.04",
              "aop450":"loper552.27",
              "aop451":"loper553.5",
              "aop452":"loper554.73",
              "aop453":"loper555.96",
              "aop454":"loper557.1899999999999",
              "aop455":"loper558.42",
              "aop456":"loper559.65",
              "aop457":"loper560.88",
              "aop458":"loper562.11",
              "aop459":"loper563.34",
              "aop460":"loper564.5699999999999",
              "aop461":"loper565.8",
              "aop462":"loper567.03",
              "aop463":"loper568.26",
              "aop464":"loper569.49",
              "aop465":"loper570.72",
              "aop466":"loper571.95",
              "aop467":"loper573.18",
              "aop468":"loper574.41",
              "aop469":"loper575.64",
              "aop470":"loper576.87",
              "aop471":"loper578.1",
              "aop472":"loper579.33",
              "aop473":"loper580.56",
              "aop474":"loper581.79",
              "aop475":"loper583.02",
              "aop476":"loper584.25",
              "aop477":"loper585.48",
              "aop478":"loper586.71",
              "aop479":"loper587.9399999999999",
              "aop480":"loper589.17",
              "aop481":"loper590.4",
              "aop482":"loper591.63",
              "aop483":"loper592.86",
              "aop484":"loper594.09",
              "aop485":"loper595.3199999999999",
              "aop486":"loper596.55",
              "aop487":"loper597.78",
              "aop488":"loper599.01",
              "aop489":"loper600.24",
              "aop490":"loper601.47",
              "aop491":"loper602.7",
              "aop492":"loper603.93",
              "aop493":"loper605.16",
              "aop494":"loper606.39",
              "aop495":"loper607.62",
              "aop496":"loper608.85",
              "aop497":"loper610.08",
              "aop498":"loper611.31",
              "aop499":"loper612.54",
              "aop500":"loper613.77",
              "aop501":"loper615",
              "aop502":"loper616.23",
              "aop503":"loper617.46",
              "aop504":"loper618.6899999999999",
              "aop505":"loper619.92",
              "aop506":"loper621.15",
              "aop507":"loper622.38",
              "aop508":"loper623.61",
              "aop509":"loper624.84",
              "aop510":"loper626.0699999999999",
              "aop511":"loper627.3",
              "aop512":"loper628.53",
              "aop513":"loper629.76",
              "aop514":"loper630.99",
              "aop515":"loper632.22",
              "aop516":"loper633.45",
              "aop517":"loper634.68",
              "aop518":"loper635.91",
              "aop519":"loper637.14",
              "aop520":"loper638.37",
              "aop521":"loper639.6",
              "aop522":"loper640.83",
              "aop523":"loper642.06",
              "aop524":"loper643.29",
              "aop525":"loper644.52",
              "aop526":"loper645.75",
              "aop527":"loper646.98",
              "aop528":"loper648.21",
              "aop529":"loper649.4399999999999",
              "aop530":"loper650.67",
              "aop531":"loper651.9",
              "aop532":"loper653.13",
              "aop533":"loper654.36",
              "aop534":"loper655.59",
              "aop535":"loper656.8199999999999",
              "aop536":"loper658.05",
              "aop537":"loper659.28",
              "aop538":"loper660.51",
              "aop539":"loper661.74",
              "aop540":"loper662.97",
              "aop541":"loper664.2",
              "aop542":"loper665.43",
              "aop543":"loper666.66",
              "aop544":"loper667.89",
              "aop545":"loper669.12",
              "aop546":"loper670.35",
              "aop547":"loper671.58",
              "aop548":"loper672.81",
              "aop549":"loper674.04",
              "aop550":"loper675.27",
              "aop551":"loper676.5",
              "aop552":"loper677.73",
              "aop553":"loper678.96",
              "aop554":"loper680.1899999999999",
              "aop555":"loper681.42",
              "aop556":"loper682.65",
              "aop557":"loper683.88",
              "aop558":"loper685.11",
              "aop559":"loper686.34",
              "aop560":"loper687.5699999999999",
              "aop561":"loper688.8",
              "aop562":"loper690.03",
              "aop563":"loper691.26",
              "aop564":"loper692.49",
              "aop565":"loper693.72",
              "aop566":"loper694.95",
              "aop567":"loper696.18",
              "aop568":"loper697.41",
              "aop569":"loper698.64",
              "aop570":"loper699.87",
              "aop571":"loper701.1",
              "aop572":"loper702.33",
              "aop573":"loper703.56",
              "aop574":"loper704.79",
              "aop575":"loper706.02",
              "aop576":"loper707.25",
              "aop577":"loper708.48",
              "aop578":"loper709.71",
              "aop579":"loper710.9399999999999",
              "aop580":"loper712.17",
              "aop581":"loper713.4",
              "aop582":"loper714.63",
              "aop583":"loper715.86",
              "aop584":"loper717.09",
              "aop585":"loper718.3199999999999",
              "aop586":"loper719.55",
              "aop587":"loper720.78",
              "aop588":"loper722.01",
              "aop589":"loper723.24",
              "aop590":"loper724.47",
              "aop591":"loper725.7",
              "aop592":"loper726.93",
              "aop593":"loper728.16",
              "aop594":"loper729.39",
              "aop595":"loper730.62",
              "aop596":"loper731.85",
              "aop597":"loper733.08",
              "aop598":"loper734.31",
              "aop599":"loper735.54",
              "aop600":"loper736.77",
              "aop601":"loper738",
              "aop602":"loper739.23",
              "aop603":"loper740.46",
              "aop604":"loper741.6899999999999",
              "aop605":"loper742.92",
              "aop606":"loper744.15",
              "aop607":"loper745.38",
              "aop608":"loper746.61",
              "aop609":"loper747.84",
              "aop610":"loper749.0699999999999",
              "aop611":"loper750.3",
              "aop612":"loper751.53",
              "aop613":"loper752.76",
              "aop614":"loper753.99",
              "aop615":"loper755.22",
              "aop616":"loper756.45",
              "aop617":"loper757.68",
              "aop618":"loper758.91",
              "aop619":"loper760.14",
              "aop620":"loper761.37",
              "aop621":"loper762.6",
              "aop622":"loper763.83",
              "aop623":"loper765.06",
              "aop624":"loper766.29",
              "aop625":"loper767.52",
              "aop626":"loper768.75",
              "aop627":"loper769.98",
              "aop628":"loper771.21",
              "aop629":"loper772.4399999999999",
              "aop630":"loper773.67",
              "aop631":"loper774.9",
              "aop632":"loper776.13",
              "aop633":"loper777.36",
              "aop634":"loper778.59",
              "aop635":"loper779.8199999999999",
              "aop636":"loper781.05",
              "aop637":"loper782.28",
              "aop638":"loper783.51",
              "aop639":"loper784.74",
              "aop640":"loper785.97",
              "aop641":"loper787.2",
              "aop642":"loper788.43",
              "aop643":"loper789.66",
              "aop644":"loper790.89",
              "aop645":"loper792.12",
              "aop646":"loper793.35",
              "aop647":"loper794.58",
              "aop648":"loper795.81",
              "aop649":"loper797.04",
              "aop650":"loper798.27",
              "aop651":"loper799.5",
              "aop652":"loper800.73",
              "aop653":"loper801.96",
              "aop654":"loper803.1899999999999",
              "aop655":"loper804.42",
              "aop656":"loper805.65",
              "aop657":"loper806.88",
              "aop658":"loper808.11",
              "aop659":"loper809.34",
              "aop660":"loper810.5699999999999",
              "aop661":"loper811.8",
              "aop662":"loper813.03",
              "aop663":"loper814.26",
              "aop664":"loper815.49",
              "aop665":"loper816.72",
              "aop666":"loper817.9499999999999",
              "aop667":"loper819.18",
              "aop668":"loper820.41",
              "aop669":"loper821.64",
              "aop670":"loper822.87",
              "aop671":"loper824.1",
              "aop672":"loper825.33",
              "aop673":"loper826.56",
              "aop674":"loper827.79",
              "aop675":"loper829.02",
              "aop676":"loper830.25",
              "aop677":"loper831.48",
              "aop678":"loper832.71",
              "aop679":"loper833.9399999999999",
              "aop680":"loper835.17",
              "aop681":"loper836.4",
              "aop682":"loper837.63",
              "aop683":"loper838.86",
              "aop684":"loper840.09",
              "aop685":"loper841.3199999999999",
              "aop686":"loper842.55",
              "aop687":"loper843.78",
              "aop688":"loper845.01",
              "aop689":"loper846.24",
              "aop690":"loper847.47",
              "aop691":"loper848.6999999999999",
              "aop692":"loper849.93",
              "aop693":"loper851.16",
              "aop694":"loper852.39",
              "aop695":"loper853.62",
              "aop696":"loper854.85",
              "aop697":"loper856.08",
              "aop698":"loper857.31",
              "aop699":"loper858.54",
              "aop700":"loper859.77",
              "aop701":"loper861",
              "aop702":"loper862.23",
              "aop703":"loper863.46",
              "aop704":"loper864.6899999999999",
              "aop705":"loper865.92",
              "aop706":"loper867.15",
              "aop707":"loper868.38",
              "aop708":"loper869.61",
              "aop709":"loper870.84",
              "aop710":"loper872.0699999999999",
              "aop711":"loper873.3",
              "aop712":"loper874.53",
              "aop713":"loper875.76",
              "aop714":"loper876.99",
              "aop715":"loper878.22",
              "aop716":"loper879.4499999999999",
              "aop717":"loper880.68",
              "aop718":"loper881.91",
              "aop719":"loper883.14",
              "aop720":"loper884.37",
              "aop721":"loper885.6",
              "aop722":"loper886.83",
              "aop723":"loper888.06",
              "aop724":"loper889.29",
              "aop725":"loper890.52",
              "aop726":"loper891.75",
              "aop727":"loper892.98",
              "aop728":"loper894.21",
              "aop729":"loper895.4399999999999",
              "aop730":"loper896.67",
              "aop731":"loper897.9",
              "aop732":"loper899.13",
              "aop733":"loper900.36",
              "aop734":"loper901.59",
              "aop735":"loper902.8199999999999",
              "aop736":"loper904.05",
              "aop737":"loper905.28",
              "aop738":"loper906.51",
              "aop739":"loper907.74",
              "aop740":"loper908.97",
              "aop741":"loper910.1999999999999",
              "aop742":"loper911.43",
              "aop743":"loper912.66",
              "aop744":"loper913.89",
              "aop745":"loper915.12",
              "aop746":"loper916.35",
              "aop747":"loper917.58",
              "aop748":"loper918.81",
              "aop749":"loper920.04",
              "aop750":"loper921.27",
              "aop751":"loper922.5",
              "aop752":"loper923.73",
              "aop753":"loper924.96",
              "aop754":"loper926.1899999999999",
              "aop755":"loper927.42",
              "aop756":"loper928.65",
              "aop757":"loper929.88",
              "aop758":"loper931.11",
              "aop759":"loper932.34",
              "aop760":"loper933.5699999999999",
              "aop761":"loper934.8",
              "aop762":"loper936.03",
              "aop763":"loper937.26",
              "aop764":"loper938.49",
              "aop765":"loper939.72",
              "aop766":"loper940.9499999999999",
              "aop767":"loper942.18",
              "aop768":"loper943.41",
              "aop769":"loper944.64",
              "aop770":"loper945.87",
              "aop771":"loper947.1",
              "aop772":"loper948.33",
              "aop773":"loper949.56",
              "aop774":"loper950.79",
              "aop775":"loper952.02",
              "aop776":"loper953.25",
              "aop777":"loper954.48",
              "aop778":"loper955.71",
              "aop779":"loper956.9399999999999",
              "aop780":"loper958.17",
              "aop781":"loper959.4",
              "aop782":"loper960.63",
              "aop783":"loper961.86",
              "aop784":"loper963.09",
              "aop785":"loper964.3199999999999",
              "aop786":"loper965.55",
              "aop787":"loper966.78",
              "aop788":"loper968.01",
              "aop789":"loper969.24",
              "aop790":"loper970.47",
              "aop791":"loper971.6999999999999",
              "aop792":"loper972.93",
              "aop793":"loper974.16",
              "aop794":"loper975.39",
              "aop795":"loper976.62",
              "aop796":"loper977.85",
              "aop797":"loper979.08",
              "aop798":"loper980.31",
              "aop799":"loper981.54",
              "aop800":"loper982.77",
              "aop801":"loper984",
              "aop802":"loper985.23",
              "aop803":"loper986.46",
              "aop804":"loper987.6899999999999",
              "aop805":"loper988.92",
              "aop806":"loper990.15",
              "aop807":"loper991.38",
              "aop808":"loper992.61",
              "aop809":"loper993.84",
              "aop810":"loper995.0699999999999",
              "aop811":"loper996.3",
              "aop812":"loper997.53",
              "aop813":"loper998.76",
              "aop814":"loper999.99",
              "aop815":"loper1001.22",
              "aop816":"loper1002.4499999999999",
              "aop817":"loper1003.68",
              "aop818":"loper1004.91",
              "aop819":"loper1006.14",
              "aop820":"loper1007.37",
              "aop821":"loper1008.6",
              "aop822":"loper1009.83",
              "aop823":"loper1011.06",
              "aop824":"loper1012.29",
              "aop825":"loper1013.52",
              "aop826":"loper1014.75",
              "aop827":"loper1015.98",
              "aop828":"loper1017.21",
              "aop829":"loper1018.4399999999999",
              "aop830":"loper1019.67",
              "aop831":"loper1020.9",
              "aop832":"loper1022.13",
              "aop833":"loper1023.36",
              "aop834":"loper1024.59",
              "aop835":"loper1025.82",
              "aop836":"loper1027.05",
              "aop837":"loper1028.28",
              "aop838":"loper1029.51",
              "aop839":"loper1030.74",
              "aop840":"loper1031.97",
              "aop841":"loper1033.2",
              "aop842":"loper1034.43",
              "aop843":"loper1035.66",
              "aop844":"loper1036.8899999999999",
              "aop845":"loper1038.12",
              "aop846":"loper1039.35",
              "aop847":"loper1040.58",
              "aop848":"loper1041.81",
              "aop849":"loper1043.04",
              "aop850":"loper1044.27",
              "aop851":"loper1045.5",
              "aop852":"loper1046.73",
              "aop853":"loper1047.96",
              "aop854":"loper1049.19",
              "aop855":"loper1050.42",
              "aop856":"loper1051.65",
              "aop857":"loper1052.8799999999999",
              "aop858":"loper1054.11",
              "aop859":"loper1055.34",
              "aop860":"loper1056.57",
              "aop861":"loper1057.8",
              "aop862":"loper1059.03",
              "aop863":"loper1060.26",
              "aop864":"loper1061.49",
              "aop865":"loper1062.72",
              "aop866":"loper1063.95",
              "aop867":"loper1065.18",
              "aop868":"loper1066.41",
              "aop869":"loper1067.6399999999999",
              "aop870":"loper1068.87",
              "aop871":"loper1070.1",
              "aop872":"loper1071.33",
              "aop873":"loper1072.56",
              "aop874":"loper1073.79",
              "aop875":"loper1075.02",
              "aop876":"loper1076.25",
              "aop877":"loper1077.48",
              "aop878":"loper1078.71",
              "aop879":"loper1079.94",
              "aop880":"loper1081.17",
              "aop881":"loper1082.4",
              "aop882":"loper1083.6299999999999",
              "aop883":"loper1084.86",
              "aop884":"loper1086.09",
              "aop885":"loper1087.32",
              "aop886":"loper1088.55",
              "aop887":"loper1089.78",
              "aop888":"loper1091.01",
              "aop889":"loper1092.24",
              "aop890":"loper1093.47",
              "aop891":"loper1094.7",
              "aop892":"loper1095.93",
              "aop893":"loper1097.16",
              "aop894":"loper1098.3899999999999",
              "aop895":"loper1099.62",
              "aop896":"loper1100.85",
              "aop897":"loper1102.08",
              "aop898":"loper1103.31",
              "aop899":"loper1104.54",
              "aop900":"loper1105.77",
              "aop901":"loper1107",
              "aop902":"loper1108.23",
              "aop903":"loper1109.46",
              "aop904":"loper1110.69",
              "aop905":"loper1111.92",
              "aop906":"loper1113.15",
              "aop907":"loper1114.3799999999999",
              "aop908":"loper1115.61",
              "aop909":"loper1116.84",
              "aop910":"loper1118.07",
              "aop911":"loper1119.3",
              "aop912":"loper1120.53",
              "aop913":"loper1121.76",
              "aop914":"loper1122.99",
              "aop915":"loper1124.22",
              "aop916":"loper1125.45",
              "aop917":"loper1126.68",
              "aop918":"loper1127.91",
              "aop919":"loper1129.1399999999999",
              "aop920":"loper1130.37",
              "aop921":"loper1131.6",
              "aop922":"loper1132.83",
              "aop923":"loper1134.06",
              "aop924":"loper1135.29",
              "aop925":"loper1136.52",
              "aop926":"loper1137.75",
              "aop927":"loper1138.98",
              "aop928":"loper1140.21",
              "aop929":"loper1141.44",
              "aop930":"loper1142.67",
              "aop931":"loper1143.9",
              "aop932":"loper1145.1299999999999",
              "aop933":"loper1146.36",
              "aop934":"loper1147.59",
              "aop935":"loper1148.82",
              "aop936":"loper1150.05",
              "aop937":"loper1151.28",
              "aop938":"loper1152.51",
              "aop939":"loper1153.74",
              "aop940":"loper1154.97",
              "aop941":"loper1156.2",
              "aop942":"loper1157.43",
              "aop943":"loper1158.66",
              "aop944":"loper1159.8899999999999",
              "aop945":"loper1161.12",
              "aop946":"loper1162.35",
              "aop947":"loper1163.58",
              "aop948":"loper1164.81",
              "aop949":"loper1166.04",
              "aop950":"loper1167.27",
              "aop951":"loper1168.5",
              "aop952":"loper1169.73",
              "aop953":"loper1170.96",
              "aop954":"loper1172.19",
              "aop955":"loper1173.42",
              "aop956":"loper1174.65",
              "aop957":"loper1175.8799999999999",
              "aop958":"loper1177.11",
              "aop959":"loper1178.34",
              "aop960":"loper1179.57",
              "aop961":"loper1180.8",
              "aop962":"loper1182.03",
              "aop963":"loper1183.26",
              "aop964":"loper1184.49",
              "aop965":"loper1185.72",
              "aop966":"loper1186.95",
              "aop967":"loper1188.18",
              "aop968":"loper1189.41",
              "aop969":"loper1190.6399999999999",
              "aop970":"loper1191.87",
              "aop971":"loper1193.1",
              "aop972":"loper1194.33",
              "aop973":"loper1195.56",
              "aop974":"loper1196.79",
              "aop975":"loper1198.02",
              "aop976":"loper1199.25",
              "aop977":"loper1200.48",
              "aop978":"loper1201.71",
              "aop979":"loper1202.94",
              "aop980":"loper1204.17",
              "aop981":"loper1205.4",
              "aop982":"loper1206.6299999999999",
              "aop983":"loper1207.86",
              "aop984":"loper1209.09",
              "aop985":"loper1210.32",
              "aop986":"loper1211.55",
              "aop987":"loper1212.78",
              "aop988":"loper1214.01",
              "aop989":"loper1215.24",
              "aop990":"loper1216.47",
              "aop991":"loper1217.7",
              "aop992":"loper1218.93",
              "aop993":"loper1220.16",
              "aop994":"loper1221.3899999999999",
              "aop995":"loper1222.62",
              "aop996":"loper1223.85",
              "aop997":"loper1225.08",
              "aop998":"loper1226.31",
              "aop999":"loper1227.54",
              "aop1000":"loper1228.77",
          }
      }

  },
};
</script>

<style>
@import "@/common/common-ui.css";
</style>
<style scoped lang="scss">
// 头部父项目介绍
.listTitle {
  // border: 1px solid blue;
  background-color: #ffffff;
  margin: 3px;
  margin-bottom: 10px;
  border-radius: 5px;
  padding: 20px 20px;
  font-size: 20rpx !important;
  color: $u-tips-color;
  position: relative;

  .type {
    margin: 10rpx 0;
    font-size: 24rpx;
    color: $u-tips-color;

  }
;

  .listTitle-scheme {
    position: absolute;
    right: 40rpx;
    top: 135rpx;
  }
}

.content {
  padding: 15rpx 10rpx;

  .type {
    font-size: 24rpx;
  }
}

.type {
  font-size: 26rpx;
}

.collapseStyle {
  background-color: #e6e2e5;
  margin: 5rpx 0;
  padding: 10rpx 0;
}

.bottom_btn {
  display: flex;
  margin-top: 30rpx;

  .bottom_btn_item {
    flex: 1;
    line-height: 80rpx;
    text-align: center;
    border-top: 1px solid #ddd;
  }

  .bottom_btn_item:nth-child(1) {
    border-right: 1px solid #ddd;
  }
}

.searchbox-so {
  width: 100%;
  padding: 0 2% 0 0;
  display: flex;
  justify-content: space-between;

  .u-search-inner {
    background-color: rgb(234, 234, 234);
    width: 100%;
    border-radius: 10rpx;
    display: flex;
    align-items: center;
    padding: 10rpx 16rpx;
    background-color: white;
  }
}


.buttonBox {
  position: fixed;
  width: 100vw;
  bottom: 0;
  padding: 20px 0;
  background-color: #ffffff;
    display: flex;
}

.jiebangbiaoqian {
  padding: 0 0rpx;
  width: 120rpx;
  height: 50rpx;
  font-size: 26rpx;
  text-align: center;
  color: #EB4B4B;
  border: solid 2rpx #EB4B4B;
  border-radius: 10rpx;


}

uni-modal .uni-modal__bd {
  font-weight: bold !important;
}
</style>
